文件名称:delayed_job_sqs:DelayedJob 的 Amazon SQS 后端
文件大小:11KB
文件格式:ZIP
更新时间:2024-07-05 07:25:34
Ruby
这是用于的后端 入门 获取凭据 使用以下命令配置 AWS: AWS . config ( :access_key_id => 'XXXXXX' , :secret_access_key => 'XXXXXX' , :region => 'XXXXXX' ) 必须定义一个且只有一个 worker 的队列: Delayed :: Worker . queues = [ :some_queue ] # or with URL to avoid SQS requests Delayed :: Backend :: Sqs . queue_url = 'https://sqs.us-west-2.amazonaws.com/146382271533/some_queue' Delayed :: Backend :: Sqs . queue_url = AWS :: SQS .
【文件预览】:
delayed_job_sqs-master
----lib()
--------delayed_job_sqs.rb(306B)
--------delayed()
----Gemfile(136B)
----delayed_job_sqs.gemspec(863B)
----spec()
--------sample_jobs.rb(2KB)
--------delayed_job_sqs_spec.rb(13KB)
--------helper.rb(541B)
--------.gitkeep(0B)
----Rakefile(249B)
----LICENSE(1KB)
----README.md(2KB)
----.gitignore(98B)