ENH: set timeout to 15 for get version and get plugin

when a DNS problem occurs, the UI isblocked for too long

Change-Id: I3ee1fe1ddb1bec38be9fc3c3e5c3e08931b6eb76
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li 2022-11-01 15:37:02 +08:00 committed by Lane.Wei
parent 1eacc5d38f
commit 7f53455105
2 changed files with 7 additions and 2 deletions

View file

@ -28,6 +28,8 @@
#define BBL_HAS_FIRST_PAGE 1
#define STUDIO_INACTIVE_TIMEOUT 15*60*1000
#define LOG_FILES_MAX_NUM 30
#define TIMEOUT_CONNECT 15
#define TIMEOUT_RESPONSE 15
class wxMenuItem;
class wxMenuBar;