Skip to content

Releases: EpochStudio/MessageBroker

v2.0.0

14 Nov 07:36

Choose a tag to compare

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 include clientOptions#receiveBuffer (Array), otherwise the client will be disconnected from the server. And if clientOptions#receiveBuffer contains 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
  • cronJobMessage listener changes (includes parameter changes)
  • adjusted disconnect listener according to the changes above.

Full Changelog: https://github.com/EpochStudio/MessageBroker/commits/v2.0.0