mirror of
https://github.com/pissnet/pissircd.git
synced 2025-08-07 18:55:23 +01:00
Wait longer for a REHASH when running with ASan
This commit is contained in:
parent
96be13d68d
commit
5b5a5bca03
1 changed files with 5 additions and 1 deletions
|
@ -239,7 +239,11 @@ int main(int argc, char *argv[])
|
|||
chdir(".."); /* go up one level from "bin" */
|
||||
init_winsock();
|
||||
#else
|
||||
alarm(20); /* 20 second timeout */
|
||||
#if __has_feature(address_sanitizer) || defined(__SANITIZE_ADDRESS__)
|
||||
alarm(60); /* 60 seconds timeout - ASan can be slow... */
|
||||
#else
|
||||
alarm(20); /* 20 seconds timeout */
|
||||
#endif
|
||||
#endif
|
||||
dbuf_init();
|
||||
init_random();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue