From d7e8fb711bb9fd9519975ec4c03dc7347ced77a2 Mon Sep 17 00:00:00 2001 From: jharshman Date: Thu, 11 Jan 2024 23:10:57 +0000 Subject: [PATCH] fix overflowing type --- assetman/compile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assetman/compile.py b/assetman/compile.py index 03afa2a..f08281d 100755 --- a/assetman/compile.py +++ b/assetman/compile.py @@ -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!')