rack-worker | Rack middleware that implements the Worker Pattern | Runtime Evironment library
kandi X-RAY | rack-worker Summary
kandi X-RAY | rack-worker Summary
Rack middleware that implements the Worker Pattern to process generic GET requests in the background and only serve them from a cache.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initialize the request
- get a response from the cache
- Create a cache instance .
- Convenience method to return a hash .
rack-worker Key Features
rack-worker Examples and Code Snippets
Community Discussions
Trending Discussions on rack-worker
QUESTION
I have a Jruby project that is using background processes that need to be run every x minutes. I am using Jruby-rack-worker + delayed_cron_job library. I have followed the jruby-rack-worker instructions as follow:
Copy the jruby-rack-worker.jar file under lib folder
my web.xml located under config folder:
my worker rb file:
my GEM file:
gem 'jruby-rack-worker', :platform => :jruby, :require => nil
gem 'delayed_cron_job'
After the deployment of the WAR file on WebLogic, I have checked the log file and I can see that after the completion of deployment, It is trying to start the Worker but nothing happening:
...ANSWER
Answered 2017-Jul-15 at 16:24you have it right and your log output confirms the worker started, fine!
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rack-worker
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page