A beginners question

I have put a DHT22 sensor to my serial gateway, and in the sketch code for the DHT22 sensor there is sleeping “code”, static const uint64_t UPDATE_INTERVAL = 60000; and on the end sleep(UPDATE_INTERVAL); . Will this affect the gateway forcing it to sleep or will this only affect the DHT sensor? My sketch:

Thanks for a replay. I change sleep to wait then. What I was concerned about was to “read” to often from the DHT sensor. But I believe "static const uint64_t UPDATE_INTERVAL = 60000; " in the beginning will regulate this, so my gateway will not over read the DHT sensor?