Permalink
Browse files

Changed default settings.

  • Loading branch information...
1 parent a10affb commit d2215a4e28f2c44d3351ab38d97727ea22adb2e7 geremy cohen committed Jan 4, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 flash/3.3.1/src/com/pubnub/Settings.as
@@ -8,7 +8,7 @@ package com.pubnub {
public static const MAX_RECONNECT_RETRIES:uint = 30; //100;
// if true, after reconnecting (after detecting disconnect), 'catches up' on missed messages upon reconnect
- public static const RESUME_ON_RECONNECT:Boolean = true;
+ public static const RESUME_ON_RECONNECT:Boolean = false;
// Given the above defaults
// the client would check for 5 minutes (300s) after network loss
@@ -18,7 +18,7 @@ package com.pubnub {
public static const OPERATION_TIMEOUT:uint = 310000;
// for wait a response of a ping operation with [PING_OPERATION_URL], ms
- public static const PING_OPERATION_TIMEOUT:uint = 10000;
+ public static const PING_OPERATION_TIMEOUT:uint = 2000;
// check for network down every [PING_OPERATION_INTERVAL],ms.
public static const PING_OPERATION_INTERVAL:uint = 5000;

0 comments on commit d2215a4

Please sign in to comment.