Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

Inquiry to usage of 'sleep' function

$
0
0

Hi Guys,

 

I am planning to insert a 'sleep' function in the while_loop of my job.
This while_loop is located in a workflow.

 

I would just like to ask for your opinions.

Are there any negative impact of adding the sleep function in the loop?
Do you have any better recommendations about this?

 

I want to add an interval in the while_loop of the workflow.

The function of the loop is to check if there are next data to process. If true, then the 'sleep' will start.

 

Also, will this function free up the memory during the job run if I add this function?

 

Regards,
Neil


Viewing all articles
Browse latest Browse all 4013

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>