Disable forced gzip by default
[opentracker.git] / ot_clean.h
blobe8bcdc1a0531e728f55f55c097c60c8835b9610f
1 /* This software was written by Dirk Engling <erdgeist@erdgeist.org>
2 It is considered beerware. Prost. Skol. Cheers or whatever.
4 $id$ */
6 #ifndef OT_CLEAN_H__
7 #define OT_CLEAN_H__
9 /* The amount of time a clean cycle should take */
10 #define OT_CLEAN_INTERVAL_MINUTES 2
12 /* So after each bucket wait 1 / OT_BUCKET_COUNT intervals */
13 #define OT_CLEAN_SLEEP (((OT_CLEAN_INTERVAL_MINUTES) * 60 * 1000000) / (OT_BUCKET_COUNT))
15 void clean_init(void);
16 void clean_deinit(void);
17 int clean_single_torrent(ot_torrent *torrent);
19 #endif