Currently, the timed method will synchronously execute each user's api request, and doing so will impact the time it takes to complete the single timer method, which also increases the wait time for the next timed method to start
Look into asynchronously calling each user's api request at once without waiting for the previous, and then continue with code after all are completed.
Background workers might help with this
Currently, the timed method will synchronously execute each user's api request, and doing so will impact the time it takes to complete the single timer method, which also increases the wait time for the next timed method to start
Look into asynchronously calling each user's api request at once without waiting for the previous, and then continue with code after all are completed. Background workers might help with this