Commit d131305a authored by masala's avatar masala

set generationDeadline from epochtime.Period

parent b4f2f222
......@@ -437,7 +437,7 @@ func (s *state) onDescriptorUpload(rawDesc []byte, desc *pki.MixDescriptor, epoc
}
func (s *state) documentForEpoch(epoch uint64) ([]byte, error) {
const generationDeadline = 45 * time.Minute
var generationDeadline = 7 * (epochtime.Period / 8)
s.RLock()
defer s.RUnlock()
......
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