Browse Source

fix for latest UA Expert

Julius Pfrommer 9 years ago
parent
commit
fc060e266e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/server/ua_server.c

+ 1 - 1
src/server/ua_server.c

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