erictgrubaugh
04/09/2020, 11:58 PMreduce
stage. The token expires every two hours and must be refreshed. Right now, I've limited the script to a single processor as I can't figure out how I might prevent a race condition between processors simultaneously sending the refresh request, or narrowly missing the refresh window, or erroring out if they send out their normal API call while the token is being refreshed. With the many thousands of records I'm processing and only 4 processors, I have to imagine this race condition would occur almost every refresh cycle.
Any suggestions on ensuring only a single refresh request goes out even if multiple processors recognize the need to refresh the token all at once?battk
04/10/2020, 12:05 AMbattk
04/10/2020, 12:06 AMerictgrubaugh
04/10/2020, 12:17 AMerictgrubaugh
04/10/2020, 12:20 AMerictgrubaugh
04/10/2020, 12:20 AMbattk
04/10/2020, 12:43 AMbattk
04/10/2020, 12:45 AMbattk
04/10/2020, 12:46 AMerictgrubaugh
04/10/2020, 2:51 AMbattk
04/10/2020, 2:54 AMdarrenhillconsulting
04/10/2020, 3:15 AMdarrenhillconsulting
04/10/2020, 3:15 AMdarrenhillconsulting
04/10/2020, 3:18 AMerictgrubaugh
04/10/2020, 4:34 AMerictgrubaugh
04/10/2020, 4:34 AMerictgrubaugh
04/10/2020, 4:34 AMsuitedev
04/10/2020, 4:49 AMerictgrubaugh
04/10/2020, 4:57 AMsuitedev
04/10/2020, 5:11 AM