mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 08:37:06 +08:00
add error traceback info (#3419)
Some checks failed
Deploy GitHub Pages / deploy (push) Has been cancelled
Some checks failed
Deploy GitHub Pages / deploy (push) Has been cancelled
* add error traceback info * update error msg * update code --------- Co-authored-by: Jiang-Jia-Jun <163579578+Jiang-Jia-Jun@users.noreply.github.com>
This commit is contained in:
@@ -237,7 +237,7 @@ class GlobalScheduler:
|
||||
)
|
||||
time.sleep(self.keep_alive_duration / 2)
|
||||
except Exception as e:
|
||||
scheduler_logger.error(f"Scheduler keep alive failed: {e}")
|
||||
scheduler_logger.error(f"Scheduler keep alive failed: {e}, {str(traceback.format_exc())}")
|
||||
time.sleep(min(3, self.keep_alive_duration / 4))
|
||||
|
||||
def _scheduler_name_from_request_queue(self, request_queue: str) -> str:
|
||||
|
Reference in New Issue
Block a user