Module: TrafficJam::Scripts

Defined in:
lib/traffic_jam/scripts.rb

Constant Summary collapse

INCREMENT_SCRIPT =
load('increment')
INCREMENT_SCRIPT_HASH =
Digest::SHA1.hexdigest(INCREMENT_SCRIPT)
INCREMENT_GCRA =
load('increment_gcra')
INCREMENT_GCRA_HASH =
Digest::SHA1.hexdigest(INCREMENT_GCRA)
INCREMENT_ROLLING =
load('increment_rolling')
INCREMENT_ROLLING_HASH =
Digest::SHA1.hexdigest(INCREMENT_ROLLING)
INCRBY =
load('incrby')
INCRBY_HASH =
Digest::SHA1.hexdigest(INCRBY)
SUM_ROLLING =
load('sum_rolling')
SUM_ROLLING_HASH =
Digest::SHA1.hexdigest(SUM_ROLLING)