The Wayback Machine - https://web.archive.org/web/20200619061633/https://github.com/topics/workers
Skip to content
#

workers

Here are 271 public repositories matching this topic...

mlissner
mlissner commented Apr 9, 2019

There's the easy way, which is just to document job.requeue() on the jobs documentation page:

https://github.com/rq/rq/blob/master/rq/job.py#L527

I could be wrong, but I don't think that (super important) method is actually documented anywhere! I found it by searching the Github issues.


And there's the hard way, which would be to provide this information with a full example of u

bzbarsky
bzbarsky commented Feb 10, 2020

Some people seem to read https://html.spec.whatwg.org/multipage/forms.html#dom-form-nameditem as implying that a new nodelist should be returned each time when there are multiple matching elements. That's not the intent, I assume, and it might be worth clarifying the spec to make it clear.

All browsers I tested (Firefox, Chrome, Safari) return the same nodelist on multiple accesses.

hibiken
hibiken commented Mar 21, 2020

Is your feature request related to a problem? Please describe.
Currently, we can only see how many tasks have been enqueued in each queue using the CLI.
It'd be better if we can show the latency of each queue in the output so that user can tell when was the oldest task in the queue was enqueued.

Describe the solution you'd like
Show the latency within the stats command output.

joaom182
joaom182 commented Jul 28, 2018
Crash java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Unable to load script from assets 'threads/pre-load-data-worker.thread.bundle'. Make sure your bundle is packaged correctly or you're running a packager server.

![screen shot 2018-07-28 at 11 29 18](https://user-images.githubusercontent.com/3612098/43357535-8379af28-9259-11e8-9c5a-96

MariusAlch
MariusAlch commented Aug 18, 2017
workerNodes.call : Proxy

This exposes the api of a module that the worker nodes are working on. If the module is a function, you can call this directly. If the module exports multiple functions, you can call them as they were properties of this proxy.

Kind: instance property of WorkerNodes

nothing is mentioned about promises, and the example shows usage of promises

r-a-y
r-a-y commented Jan 2, 2020

On our install, sometimes we see the same job for the same hook being duplicated multiple times with the same nextrun timestamp.

Regardless of my example, instead of using a SQL query to delete a job or multiple jobs, it would be handy if there was a wp-cli command that allowed us to remove said jobs.

If this sounds like a good idea, I recommend wp cavalcade job delete for this new subco

loaders.gl
ibgreen
ibgreen commented Mar 5, 2020

See discussion end of #662

logging explicit instructions to install @loaders.gl/polyfills if polyfills are detected as missing would certainly help anyone else who may find themselves facing similar issues.

Core could e.g. look for TextDecoder on global scope and issue a warning.

mmmurf
mmmurf commented Apr 7, 2017

loading the following URL in the browser:

http://localhost:8081/index.worker.bundle

results in the packager error printed to the terminal running the packager:

Error: Error validating module options: child "platform" fails because ["platform" must be a string]
at /Users/mmmurf/projects/react-native-workers/example/node_modules/react-native/packager/react-packager/src/lib/declareOpts.

Improve this page

Add a description, image, and links to the workers topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the workers topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.