From 2e8a12a5a462c57d7502e36f0a20bbef7b06edfa Mon Sep 17 00:00:00 2001 From: Pierre Cauchois Date: Mon, 17 Apr 2017 14:45:10 -0700 Subject: [PATCH] Increase Twin subscription timeout value to 2 minutes --- device/core/lib/twin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/core/lib/twin.js b/device/core/lib/twin.js index aaa9bebfe..4e2a3718a 100644 --- a/device/core/lib/twin.js +++ b/device/core/lib/twin.js @@ -20,7 +20,7 @@ var Twin = function(client) { util.inherits(Twin, EventEmitter); -Twin.timeout = 1000; +Twin.timeout = 120000; Twin.errorEvent = 'error'; Twin.subscribedEvent = 'subscribed';