Minimum time fixed
This commit is contained in:
parent
19783efd57
commit
52cb098421
1 changed files with 1 additions and 1 deletions
|
@ -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).\
|
||||||
|
|
Loading…
Reference in a new issue