Reduce blocking time to 45 sec.
diff --git a/apigee_sync.go b/apigee_sync.go
index 2d4eac4..d4f17d3 100644
--- a/apigee_sync.go
+++ b/apigee_sync.go
@@ -52,7 +52,7 @@
}
/*
- * Long polls every 2 minutes the change agent. Parses the response from
+ * Long polls every 45 seconds the change agent. Parses the response from
* change agent and raises an event.
*/
func pollChangeAgent() error {
@@ -88,7 +88,7 @@
if gotSequence == true {
v.Add("since", lastSequence)
}
- v.Add("block", "60")
+ v.Add("block", "45")
/*
* Include all the scopes associated with the config Id