![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Sidekiq::WebCustom adds additional flexibility to your Sidekiq UI.
This Custom add on to the Sidekiq Web framework allows you to continue to drain your queue's even when Sidekiq is not bound to them
Add this line to your application's Gemfile:
gem 'sidekiq-web_custom'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install sidekiq-web_custom
Add an intilizer file to boot SidekiqUI with the expected plugins config/initializers/sidekiq-web_custom.rb
. When not providing a block, this will use the default configuration values.
# config/initializers/sidekiq-web_custom.rb
require 'sidekiq/web_custom'
Sidekiq::WebCustom.configure
require 'sidekiq/web_custom'
Sidekiq::WebCustom.configure do |config|
# Max number to attempt to drain from a queue at a time
# Warning: A high number or long runnnig job will potentially block the process for longer
config.drain_rate = 10 # default is 10 seconds
# Max time to allow for execution of draining
# If time exceeds this number, the process will violently quit.
# Set warning time wisely
config.max_execution_time = 6 # default is 6 second
# Max time before we attempt to send warning to halt execution.
# This will prevent the process from trying to attempt work on another job
# If a long running job is occuring, this will not stop the job. It will meet a violent end
config.warn_execution_time = 5 # default is 5 second
# To redefine a local erb like queues, retries, dead, add a new erb like this
params = { queues: "#{absolute_path}/queues.erb" }
config.merge(base: :local_erbs, params: params)
# To add additional actions to a specific local_erb
# Note Actions that are not attached to an ERB will raise an error
params = {
schedule_later: "#{absolute_path}/schedule_later.erb" ,
delete: "#{absolute_path}/delete.erb" ,
}
config.merge(base: :local_erbs, params: params, action_type: :queues)
end
After checking out the repo, run make build && make bundle
to install dependencies. Then, you can bash into a docker container by using make bash
.
Similarly, a local dummy app is included with the gem. This allows running make s
to load a local version of the gem in a isolated ENV.
Please note that changes to the code will require a restart of the server. Consult the Makefile for additional commands.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and the created tag, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/matt-taylor/sidekiq-web_custom. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Sidekiq::Web::Custom project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
FAQs
Unknown package
We found that sidekiq-web_custom demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.