Skip to content

Commit

Permalink
fix overflowing type
Browse files Browse the repository at this point in the history
  • Loading branch information
jharshman committed Jan 11, 2024
1 parent b1c225d commit d7e8fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assetman/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def needs_compile(compiler):
try:
# See note above about bug in pool.map w/r/t KeyboardInterrupt.
_compile_worker = CompileWorker(settings.get('skip_inline_images', False), current_manifest)
pool.map_async(_compile_worker, to_compile).get(1e100)
pool.map_async(_compile_worker, to_compile).get(1e9) # previously set to 1e100 which caused overflow of C _PyTime_t_
except CompileError as e:
cmd, msg = e.args
logging.error('Compile error!')
Expand Down

0 comments on commit d7e8fb7

Please sign in to comment.