You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
* Code to send Analytics Data to server
* Addressing the review comments
* changes done to handle stage server and Prod Server
* changes done to define stage URL and Prod URL
* changes done to call analytics data server after health data server
* as server is change from Stage to Production ,environment variable needs to be changed to production
* Refactor code and cleanup
* Add force flag for testing and handle dev/stage or production enviroment
* Exposing command to explicitly test health data sending capability
* Handle stage environment
* Clean config json
* Correcting the sequence of call
// don't return yet though - still want to set the timeout below
192
242
}
193
243
194
-
if(currentTime>=nextTimeToSend){
195
-
// Bump up nextHealthDataSendTime now to avoid any chance of sending data again before 24 hours, e.g. if the server request fails
196
-
// or the code below crashes
244
+
if(currentTime>=nextTimeToSend||forceSend){
245
+
// Bump up nextHealthDataSendTime at the begining of chaining to avoid any chance of sending data again before 24 hours, // e.g. if the server request fails or the code below crashes
0 commit comments