etherpad: switch from broken ep_delete_after_delay_lite to ep_pad_ttl

closes #67
This commit is contained in:
chandi 2021-02-24 21:52:47 +01:00
parent 3858e42f23
commit 389af20300
2 changed files with 6 additions and 9 deletions

View File

@ -1,4 +1,4 @@
FROM etherpad/etherpad:1.8.7 FROM etherpad/etherpad:1.8.9
USER root USER root
@ -9,7 +9,7 @@ USER etherpad
RUN npm install \ RUN npm install \
ep_delete_after_delay_lite \ ep_delete_after_delay_lite \
git+https://git@github.com/pedrobmarin/ep_redis_publisher.git git+https://git@github.com/pedrobmarin/ep_pad_ttl.git
# add skin from git submodule # add skin from git submodule
COPY --chown=etherpad:0 ./bbb-etherpad-skin /opt/etherpad-lite/src/static/skins/bigbluebutton COPY --chown=etherpad:0 ./bbb-etherpad-skin /opt/etherpad-lite/src/static/skins/bigbluebutton

View File

@ -433,14 +433,11 @@
/* /*
* Delete pads plugin configuration. * Delete pads plugin configuration.
* npm i ep_delete_after_delay_lite
*/ */
"ep_pad_ttl": {
"ep_delete_after_delay_lite": { "ttl": 86400, // 24 hours
"delay": 86400, // one day, in seconds "timeout": 5,
"loop": true, "interval": 3600, // 1 hour
"loopDelay": 3600, // one hour, in seconds
"deleteAtStart": true
}, },
/* /*