summaryrefslogtreecommitdiff
path: root/odin/strm
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-09-10 11:59:25 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-09-10 11:59:25 +0200
commit1b4be457c9a8cc08951e2d3fd080ea63863a9280 (patch)
tree48f2bb459fe44ee2bd669f95bbfde187318d9e46 /odin/strm
parent750e14f563c82023dffdd41a0a37d23b9a9ab5e6 (diff)
downloadnixos-1b4be457c9a8cc08951e2d3fd080ea63863a9280.tar
nixos-1b4be457c9a8cc08951e2d3fd080ea63863a9280.tar.gz
nixos-1b4be457c9a8cc08951e2d3fd080ea63863a9280.tar.bz2
nixos-1b4be457c9a8cc08951e2d3fd080ea63863a9280.tar.xz
nixos-1b4be457c9a8cc08951e2d3fd080ea63863a9280.zip
Make delta & interval configurable
Diffstat (limited to 'odin/strm')
-rw-r--r--odin/strm/rss_staggered7
1 files changed, 5 insertions, 2 deletions
diff --git a/odin/strm/rss_staggered b/odin/strm/rss_staggered
index 30abb939..2f3bb997 100644
--- a/odin/strm/rss_staggered
+++ b/odin/strm/rss_staggered
@@ -1,7 +1,10 @@
1#!@zsh@/bin/zsh 1#!@zsh@/bin/zsh
2 2
3delta_t=20 3typeset -A opts
4interval=3600 4zparseopts -A opts -M -- -delta: d:=-delta -interval: i:=-interval
5
6delta_t=${opts[--delta]:-20}
7interval=${opts[--interval]:-3600}
5 8
6staggerFile=~/.rss-stagger 9staggerFile=~/.rss-stagger
7 10