Ask Reuben 232 - SLEEP 1

Started by Reuben B., June 25, 2024, 01:33:23 AM

Previous topic - Next topic

Reuben B.

Occasionally the support desk as part of investigating an issue might ask you to try adding a SLEEP 1 to the code.  Sometimes many years later we find that SLEEP 1 still in the code !

Why me might suggest adding a SLEEP 1 is due to the client-server aspect of the Genero architecture.  You have the runtime of the fglrun process operating on the back-end server and you have the front-end of the gbc.js / gdc.exe / etc running on the front-end workstation/device.  If we suggest adding a SLEEP 1 it is because we suspect something might be executing on the front-end server before the back-end server has completed the previous step or similar.

Read more at https://4js.com/ask-reuben/ig-232/
Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero