Commit Graph

8 Commits

Author SHA1 Message Date
Matthew Connelly 88161345ae sigh. 2015-11-14 07:37:53 +00:00
Matthew Connelly bfb3bf8622 debugging should not be enabled by default 2015-11-14 07:31:03 +00:00
Matthew Connelly 491b43c5fb minor layout change to make the default expiry match the configured default
also remove redundant undef in getpaste
2015-11-14 07:14:11 +00:00
Matthew Connelly e059aba5cc i hate myself 2015-11-14 06:54:24 +00:00
Matthew Connelly 34c26e49de rather than complicated queries that i'm probably doing wrong, let's just make expired paste purges happen every half a minute. i only put the "expunge every" thing in there to prevent performance degredation anyway 2015-11-14 06:45:29 +00:00
Matthew Connelly 69f78015b7 yaml will be the death of me 2015-11-14 05:12:01 +00:00
Matthew Connelly e73864fcea a lot of changes, hoo boy.
made the expiry check interval configurable (expire_every in config.yml)
fixed a bug where an expired paste could still be viewed for a short period after expiring in some situations
consolidated the paste fetching and parameter validation functions somewhat
fixed some bugs with expiry handling
hopefully haven't broken anything, changes are untested
2015-11-14 04:39:28 +00:00
Matthew Connelly 7a3a80c791 First commit 2015-04-13 03:56:29 +01:00