Minimum time fixed

This commit is contained in:
Ruben van de Ven 2019-11-04 10:48:05 +01:00
parent 19783efd57
commit 52cb098421

View file

@ -166,7 +166,7 @@ class Store:
return self.getAvgDurationOfPreviousNHits(5) return self.getAvgDurationOfPreviousNHits(5)
def getHitTimeout(self): def getHitTimeout(self):
return max(160, self.getAvgDurationOfPreviousNHits(5)*2) return 160 # max(160, self.getAvgDurationOfPreviousNHits(5)*2)
def getHITs(self, n = 100): def getHITs(self, n = 100):
return self.session.query(HIT).\ return self.session.query(HIT).\