Modify setup.py packages param
This commit is contained in:
parent
57d72cb78d
commit
0d80c249f3
@@ -132,7 +132,7 @@ def _times():
|
||||
|
||||
_ts1= n - random.uniform(0,1*3)
|
||||
_ts2= n - random.uniform(0.01,0.99)
|
||||
_ts3= n - 60*60 + random.uniform(0,1)
|
||||
_ts3= n - 60+random.uniform(0,1)
|
||||
_ts4= n - random.uniform(10*60,60*60)
|
||||
_ts5= n - random.uniform(0.01,0.99)
|
||||
return list(map(lambda x:int(x*1000000),[_ts1,_ts2,_ts3,_ts4,_ts5]))
|
||||
|
||||
@@ -16,7 +16,7 @@ class Chatdata:
|
||||
|
||||
async def tick_async(self):
|
||||
if self.interval == 0:
|
||||
await asyncio.sleep(3)
|
||||
await asyncio.sleep(0.5)
|
||||
return
|
||||
await asyncio.sleep(self.interval/len(self.items))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user