Download:
child 213:adc4e59eb470
parent 211:de362234c827
212:7bec8e3d6038
Anton Shestakov <av6@dwimlabs.net>, Tue, 23 Aug 2016 14:26:00 +0800
queue: set default polling interval to 1 hour

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
poll-hgweb-queue.py file | annotate | diff | comparison | revisions
--- a/poll-hgweb-queue.py Tue Aug 23 01:33:56 2016 +0800
+++ b/poll-hgweb-queue.py Tue Aug 23 14:26:00 2016 +0800
@@ -101,7 +101,7 @@
rhost = lookup_option('redis-host', args, config, default='127.0.0.1')
rport = lookup_option('redis-port', args, config, default=6379)
rpass = lookup_option('redis-password', args, config)
- interval = lookup_option('interval', args, config, default=8 * 60 * 60)
+ interval = lookup_option('interval', args, config, default=60 * 60)
logging.basicConfig(
level=logging.DEBUG if args.debug else logging.INFO,