Sfoglia il codice sorgente

increased token lifetime, seems to fix/wokeround #173

Stasik0 10 anni fa
parent
commit
af0e90b205
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/server/ua_server.c

+ 1 - 1
src/server/ua_server.c

@@ -123,7 +123,7 @@ UA_Server * UA_Server_new(void) {
 
 #define MAXCHANNELCOUNT 100
 #define STARTCHANNELID 1
-#define TOKENLIFETIME 10000
+#define TOKENLIFETIME 600000
 #define STARTTOKENID 1
     UA_SecureChannelManager_init(&server->secureChannelManager, MAXCHANNELCOUNT,
                                  TOKENLIFETIME, STARTCHANNELID, STARTTOKENID);