Registry / messaging / resque-access-worker-from-job

resque-access-worker-from-job

JSON →
library0.3.1rbrubygemsunverified

Allows multiple Resque jobs to share a single socket persisted over the life of the worker, useful for sending background iPhone messages via Apple Push Notification servers.

gem install resque-access_worker_from_job
INSTALL
IMPORT
SIG · RESQUE-ACCESS-WORK
R
resque-access-worker-from-job
messagingrubyv0.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ResqueAccessWorkerFromJob
require 'resque-access_worker_from_job'

Access the current Resque worker from within a job

require 'resque-access_worker_from_job' class MyJob extend Resque::Plugins::AccessWorkerFromJob def self.perform worker = access_worker # use worker for shared socket end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
OpenAI (training)
1
Resources
resque-access-worker-from-job — gem install resque-access-worker-from-job · libregistry