Hi Christian,

Yes, prof:sleep is working perfectly. Thank you!

Joe

On Fri, Sep 27, 2024 at 10:42 AM Christian Grün <christian.gruen@gmail.com> wrote:
Hi Joe,

prof:sleep should do the job [1].

Hope this helps, 
Christian

[1] https://docs.basex.org/main/Profiling_Functions#prof:sleep



Joe Wicentowski <joewiz@gmail.com> schrieb am Fr., 27. Sept. 2024, 16:38:
Hi all,

I'm retrieving content from a list of URLs with BaseX (via the http:send-request function) and appear to be hitting rate limits on the remote server. I'd like to pause for 5 seconds between requests. In eXist, I'd use util:wait [1] to handle this pause. Is there an equivalent in BaseX? Or is there a different approach in BaseX?

Thanks!
Joe