提交 69cf5cf5 编写于 作者: S Steven Li

Minor fix to crash_gen tool, allowing simultaneous start of multiple executions

上级 7eb3d6e3
......@@ -485,7 +485,7 @@ class ThreadCoordinator:
self._dbs.append(Database(0, dbc))
else:
baseDbNumber = int(datetime.datetime.now().timestamp( # Don't use Dice/random, as they are deterministic
)) % 888 if gConfig.dynamic_db_table_names else 0
)*333) % 888 if gConfig.dynamic_db_table_names else 0
for i in range(gConfig.max_dbs):
self._dbs.append(Database(baseDbNumber + i, dbc))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册