There will be maintenance performed on git.ligo.org, chat.ligo.org, containers.lig.org, and docs.ligo.org starting at 9am PDT on Tuesday 18th August 2020. There will be an extremely small period of downtime at the start of the maintenance window as various services are restarted. Please address any comments, questions, or concerns to computing-help@igwn.org.

Commit beaf6317 authored by Daichi Tsuna's avatar Daichi Tsuna

src/power/power.py: avoid overflow in time.time()

Original: c5d87e1e209ea5da6e7f5b4e7e4fee8d87dab48c
parent 1e8074ef
......@@ -1095,7 +1095,7 @@ def make_binj_fragment(dag, seg, time_slides_cache_entry, tag, offset, flow = No
node.add_macro("macroflow", flow)
if fhigh is not None:
node.add_macro("macrofhigh", fhigh)
node.add_macro("macroseed", int(time.time() + start))
node.add_macro("macroseed", int(time.time()%100 + start))
dag.add_node(node)
return set([node])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment