mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-06 23:27:14 -04:00
Defer rate limiter creation to a hook call
This makes it possible to change the rate limiter settings via `/admin/settings` or by modifying the appropriate settings object and reinvoking the hook.
This commit is contained in:
parent
d7ed71eba0
commit
00d45e3229
3 changed files with 18 additions and 13 deletions
|
@ -84,7 +84,8 @@
|
|||
"name": "socketio",
|
||||
"hooks": {
|
||||
"expressCloseServer": "ep_etherpad-lite/node/hooks/express/socketio",
|
||||
"expressCreateServer": "ep_etherpad-lite/node/hooks/express/socketio"
|
||||
"expressCreateServer": "ep_etherpad-lite/node/hooks/express/socketio",
|
||||
"socketio": "ep_etherpad-lite/node/handler/PadMessageHandler"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue