jl777 8 years ago
parent
commit
eda6b099b8
  1. 4
      basilisk/basilisk.c
  2. 2
      basilisk/basilisk.h

4
basilisk/basilisk.c

@ -941,8 +941,8 @@ void basilisks_loop(void *arg)
basilisk_iteration(myinfo); basilisk_iteration(myinfo);
basilisk_p2pQ_process(myinfo,777); basilisk_p2pQ_process(myinfo,777);
if ( myinfo->NOTARY.RELAYID >= 0 ) if ( myinfo->NOTARY.RELAYID >= 0 )
endmilli = startmilli + 2500; endmilli = startmilli + 500;
else endmilli = startmilli + 5000; else endmilli = startmilli + 2000;
while ( OS_milliseconds() < endmilli ) while ( OS_milliseconds() < endmilli )
usleep(10000); usleep(10000);
iter++; iter++;

2
basilisk/basilisk.h

@ -20,7 +20,7 @@
#include "../iguana/iguana777.h" #include "../iguana/iguana777.h"
#define BASILISK_TIMEOUT 15000 #define BASILISK_TIMEOUT 3000
#define BASILISK_MINFANOUT 8 #define BASILISK_MINFANOUT 8
#define BASILISK_MAXFANOUT 64 #define BASILISK_MAXFANOUT 64
#define BASILISK_DEFAULTDIFF 0x1effffff #define BASILISK_DEFAULTDIFF 0x1effffff

Loading…
Cancel
Save