Skip to content
This repository was archived by the owner on Apr 24, 2019. It is now read-only.

Commit 07bf8f0

Browse files
Yogesh PandeYogesh Pande
authored andcommitted
Reduce lifetime value from 3600 seconds to 100 seconds
1 parent 3d7c7da commit 07bf8f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class MbedClient: public M2MInterfaceObserver {
9292
_interface = M2MInterfaceFactory::create_interface(*this,
9393
ENDPOINT_NAME,
9494
"test",
95-
3600,
95+
100,
9696
port,
9797
MBED_USER_NAME_DOMAIN,
9898
SOCKET_MODE,
@@ -277,7 +277,7 @@ class MbedClient: public M2MInterfaceObserver {
277277

278278
void test_update_register() {
279279
if (_registered) {
280-
_interface->update_registration(_register_security, 3600);
280+
_interface->update_registration(_register_security, 100);
281281
}
282282
}
283283

0 commit comments

Comments
 (0)