Comments (3)
irb(main):011* class OurWorker
irb(main):012* include Faktory::Job
irb(main):013*
irb(main):014* faktory_options custom: { unique_for: 3600.to_i }
irb(main):015> end
=> {"retry"=>25, "queue"=>"default", "custom"=>{:unique_for=>3600}}
irb(main):016> OurWorker.perform_async
=> "c962b9985b81d507535e143c"
Works for me.
from faktory_worker_ruby.
You're right. It seems to be isolated to json we are passing into the worker as a param. Ive double checked the json is valid but there seems to be some sort of issue going from json -> faktory redis -> back to json through the gem. Passing the json as a string param and running ruby JSON.parse(param)
in the worker perform resolved the issue.
from faktory_worker_ruby.
If you can narrow down that JSON we can try to make it better. JSON has some crazy limitations due to JSâs weird 53-bit floats.
from faktory_worker_ruby.
Related Issues (20)
- Bulk push of jobs HOT 1
- NoMethodError (undefined method `wait_readable' for #<OpenSSL::SSL::SSLSocket:0x00007fc7641dea60>) HOT 5
- Move to new CI provider
- Faktory::Job.set ignores class-defined faktory_options
- Jobs are not being fetched for certain queues HOT 15
- Implement push_bulk
- Jobs submitted by other jobs are going to the wrong queue HOT 11
- Error fetching job: Invalid password - password with invalid URL characters
- Release? HOT 3
- Issue with unit testing HOT 3
- Faktory::Testing.fake! is still attempting to hit localhost.... HOT 11
- Advice on Integration Tests HOT 2
- Track Status is being reported as "unknown" HOT 4
- List of options for faktory_options HOT 1
- Reschedule job in current queue HOT 1
- Faktory worker with Kubernetes HPA: option to exit worker when the queue is empty? HOT 1
- New Relic instrumentation? HOT 3
- Pool increase in a release? HOT 2
- 0/ 20 connections available - bump connection pool amount? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
ð Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ððð
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â€ïž Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faktory_worker_ruby.