draw icon indicating copy to clipboard operation
draw copied to clipboard

last modified timestamp

Open aaronkvanmeerten opened this issue 8 years ago • 2 comments

Hey folks,

Awesome project! We were thinking of deploying a copy on meet.jit.si , but since this is a public service we need to be able to clean up every once in a while. For etherpad we do that for all pads older than some number of hours and we were wondering if we could do the same for draw.

Would it be possible to add a "last modified" timestamp somewhere in the json so that we can use this when cleaning up old pads?

Thanks a bunch!

aaronkvanmeerten avatar May 31 '17 16:05 aaronkvanmeerten

I added functionality to my fork of draw, just haven't moved it into this repo. https://github.com/bytesnz/draw/blob/master/server.js#L56 It allows you to add a length of time to remove the unused rooms after by either giving it as the removeUnused setting in the settings.json file or specify it when starting the program.

...
    "removeUnused": "2hr",
...

or $ node server.js --removeUnused 2hr

bytesnz avatar Jun 01 '17 07:06 bytesnz

+1 @bytesnz

JohnMcLear avatar Mar 12 '18 06:03 JohnMcLear