cvandeplas / pystemon

Monitoring tool for PasteBin-alike sites written in Python. Inspired by pastemon http://github.com/xme/pastemon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

save state when stopping

cvandeplas opened this issue · comments

Pystemon keeps a list of seen pasties in memory for performance reasons.
When pystemon stops, and is started up immediately it fetches again all data.
It'd be great if pystemon could save his state in a file, and reuse that state when starting up. This way all seen pasties in memory are not re-downloaded again.