mirror of
https://github.com/geohot/qira
synced 2025-03-14 02:52:52 +03:00
uped the changes per read
This commit is contained in:
parent
16d98f8a2a
commit
9673233340
@ -1,3 +1,4 @@
|
||||
# rewrite this whole thing in c?
|
||||
import blist
|
||||
|
||||
class Address:
|
||||
|
@ -92,7 +92,7 @@ def getinstructions(forknum, clstart, clend):
|
||||
for i in range(clstart, clend):
|
||||
key = (i, 'I')
|
||||
if key in pydb_clnum:
|
||||
rret = pydb_clnum[key][0]
|
||||
rret = pydb_clnum[key][0]
|
||||
if rret['address'] in program.instructions:
|
||||
rret['instruction'] = program.instructions[rret['address']]
|
||||
ret.append(rret)
|
||||
@ -181,8 +181,8 @@ def check_file(logfile, trace):
|
||||
total_changes = max_changes - trace.changes_committed
|
||||
# clamping to keep the server responsive
|
||||
# python threads really aren't very good
|
||||
if total_changes > 10000:
|
||||
total_changes = 10000
|
||||
if total_changes > 30000:
|
||||
total_changes = 30000
|
||||
"""
|
||||
if trace.changes_committed > 200000:
|
||||
# clamped
|
||||
|
Loading…
x
Reference in New Issue
Block a user