Skip to content

Commit

Permalink
[OGUI-485] An issue message is emmitted if IL Server is not responding (
Browse files Browse the repository at this point in the history
#454)

* [OGUI-485] Emit warning if IL Server not respoding

* [OGUI-485] Bump web UI
  • Loading branch information
graduta authored Feb 18, 2020
1 parent fda1e67 commit f6626b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Framework/Backend/log/InfoLoggerReceiver.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ module.exports = class InfoLoggerReceiver extends EventEmitter {
this.client.on('error', (error) => {
log.error(`Failed to connect to infoLoggerServer ${this.host}:${this.port} - ${error.code}`);
this.client.setTimeout(5000, () => {
this.emit('connection-issue', 'Unable to connect to InfoLogger Server. Retrying in 5 seconds...');
log.info('Reconnecting infoLoggerServer socket...');
this.client.connect(this.port, this.host);
});
Expand Down
2 changes: 1 addition & 1 deletion Framework/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Framework/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aliceo2/web-ui",
"version": "1.9.3",
"version": "1.9.4",
"description": "ALICE O2 Web UX framework",
"author": "Adam Wegrzynek",
"contributors": [
Expand Down

0 comments on commit f6626b6

Please sign in to comment.