MQTTAgent_Publish callback timeout

If a call to MQTTAgent_Publish return MQTTSuccess, how long should our task wait for the callback to be executed. What is the upper bound on this time?
Thanks

HI,
Can you check these 2 threads. They might give you some idea:

  1. MQTTAgent Publish is slow as compare to FreeRTOS MQTT - #20 by txf
  2. https://forums.freertos.org/t/mqtt-agent-publish-slow-and-causes-incoming-callbacks-to-slow-as-well/16747/