Skip to content

Commit

Permalink
Temporarily remove retry and bump client version
Browse files Browse the repository at this point in the history
  • Loading branch information
MaryamZi committed Jul 27, 2020
1 parent 2d194f1 commit c01abd1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions distributor/web/info.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

****** IMPORTANT *******
**
** The latest version of the subscriber JAR is subscriber-20200726.jar
** The latest version of the subscriber JAR is subscriber-20200728-I.jar
**
** Available at https://github.com/ECLK/Results-Dist/releases/tag/v2020-07-26
** Available at https://github.com/ECLK/Results-Dist/releases/tag/v2020-07-28-I
**
****** IMPORTANT *******

Run it as follows:

java -jar subscriber-20200726.jar [options]
java -jar subscriber-20200728-I.jar [options]

where options are:
-username=name my username for authentication
Expand Down
2 changes: 1 addition & 1 deletion subscriber/src/subscriber/constants.bal
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const LEVEL_NF = "NATIONAL-FINAL";
const WANT_IMAGE = "image=true";
const WANT_AWAIT_RESULTS = "await=true";

const MY_VERSION = "2020-07-26";
const MY_VERSION = "2020-07-28-I";

const UNDERSOCRE = "_";
const COLON = ":";
Expand Down
14 changes: 7 additions & 7 deletions subscriber/src/subscriber/subscriber.bal
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ public function main (string? username = (), // my username

http:WebSocketClient wsClientEp = new (wsUrl, config = {
callbackService: callbackService,
customHeaders: headers,
retryConfig: {
intervalInMillis: 3000,
maxCount: 10,
backOffFactor: 1.5,
maxWaitIntervalInMillis: 20000
}
customHeaders: headers
// retryConfig: {
// intervalInMillis: 3000,
// maxCount: 10,
// backOffFactor: 1.5,
// maxWaitIntervalInMillis: 20000
// }
});

if wsClientEp.isOpen() {
Expand Down

0 comments on commit c01abd1

Please sign in to comment.