Releases: EpochStudio/MessageBroker
Releases · EpochStudio/MessageBroker
v2.0.0
What's New
- added logger functions (src/utils/logger.js)
- added util functions (src/utils/utils.js)
- added constant file (src/utils/constant.js)
- added redis manager (src/struct/redis.js)
- added
clientOptions#receiveBuffer, clients now trying to register must includeclientOptions#receiveBuffer(Array), otherwise the client will be disconnected from the server. And ifclientOptions#receiveBuffercontains faulty buffer, disconnects the client from the server. - added
clientOptions#receiveTransactionInfo, can be left empty, defaults to false. - server sending info to Clients now requires an acknowledgement from the Client. Timeout: 10000ms
- server now uses Redis as a medium for storing registered clients to elevate the load on the server
- duplicate registration key can no longer exist
cronJobMessagelistener changes (includes parameter changes)- adjusted
disconnectlistener according to the changes above.
Full Changelog: https://github.com/EpochStudio/MessageBroker/commits/v2.0.0