-
Notifications
You must be signed in to change notification settings - Fork 64
example
ludoch edited this page Apr 15, 2026
·
1 revision
The following code adds a task to a queue with options.
In index.html:
View index.html on GitHub (region:
index_file)
In Enqueue.java:
View Enqueue.java on GitHub (region:
enqueue)
In Worker.java:
View Worker.java on GitHub (region:
worker)
Tasks added to this queue will execute by calling the request handler at the URL
/worker with the parameter key. They will execute at the rate set in the
queue.xml file, or the default rate of 5 tasks per second.