disable periodic ping in webix jet auth plugin

How can we disable the feature to automatically ping every x ms in the auth plugin?

It seems to always default to 5 * 60 *1000

Thanks

Hello @mdissel,

Unfortunately, the ping functionality cannot be disabled completely, as can be seen from the code:

const ping = config.ping || 5 * 60 * 1000;

Setting ping to 0 inside the plugin config will result in a falsy value for that comparison, defaulting the ping value to 300000ms.

The ping functionality is important since it informs server-side that the client app is still open and at the same time it can inform the user if the server-side session has been ended.