1
0
mirror of https://github.com/sasjs/core.git synced 2025-12-11 06:24:35 +00:00

fix: adding a one second pause between every SAS Job Request in mv_jobflow.sas

This commit is contained in:
2021-02-04 14:12:02 +01:00
parent 4a6c8ffbb3
commit 8d64b30419
2 changed files with 14 additions and 0 deletions

View File

@@ -13400,6 +13400,9 @@ libname &libref;
![https://i.imgur.com/nZE9PvT.png](https://i.imgur.com/nZE9PvT.png)
To avoid hammering the box with many hits in rapid succession, a one
second pause is made between every request.
## Example
@@ -13662,6 +13665,10 @@ data;run;%let jdswaitfor=&syslast;
proc append base=&jdsrunning data=&jdsapp;
run;
%let concurrency=%eval(&concurrency+1);
/* sleep one second after every request to smooth the impact */
data _null_;
call sleep(1,1);
run;
%end;
%end;
%if &jid=&jcnt %then %do;

View File

@@ -34,6 +34,9 @@
![https://i.imgur.com/nZE9PvT.png](https://i.imgur.com/nZE9PvT.png)
To avoid hammering the box with many hits in rapid succession, a one
second pause is made between every request.
## Example
@@ -296,6 +299,10 @@ data;run;%let jdswaitfor=&syslast;
proc append base=&jdsrunning data=&jdsapp;
run;
%let concurrency=%eval(&concurrency+1);
/* sleep one second after every request to smooth the impact */
data _null_;
call sleep(1,1);
run;
%end;
%end;
%if &jid=&jcnt %then %do;