use heavy task by default

This commit is contained in:
lxsang
2018-10-14 21:41:59 +02:00
parent 487e5b108b
commit 81ff9f2c3c
2 changed files with 9 additions and 4 deletions

View File

@ -26,7 +26,7 @@
#define __RESULT__ "{\"result\":%d,\"msg\":\"%s\"}"
#define FORM_URL_ENCODE "application/x-www-form-urlencoded"
#define FORM_MULTI_PART "multipart/form-data"
#define MAX_ATTEMPT 5000
#define MAX_ATTEMPT 1000
#ifdef USE_OPENSSL
int __attribute__((weak)) usessl();
#endif
@ -37,8 +37,8 @@ typedef struct{
char* ip;
#ifdef USE_OPENSSL
int status;
int attempt;
#endif
int attempt;
} antd_client_t;
typedef struct {