Broker error:timeout

Hi all,
“…did’t receive response receive response for 20 seconds and the request got timesout at around…”
This error happens sometimes. Could You tell me, please, where can I put more time for timeout?
And maybe someone had this error and knows how to solve it?
Thank You for any help,
regards

Can you explain more on it… like is it Pub-Sub Model are what?/

–Shaik

Review the documentation for pub.publish:publishAndWait