Skip to content

Log config on startup#337

Merged
ZimbiX merged 3 commits intomasterfrom
log-config-on-startup
Feb 24, 2022
Merged

Log config on startup#337
ZimbiX merged 3 commits intomasterfrom
log-config-on-startup

Conversation

@ZimbiX
Copy link
Copy Markdown
Member

@ZimbiX ZimbiX commented Feb 23, 2022

Inspired by some of @benhoskings's commits on Ferocia's fork.

Startup now looks like:

➜ ./bin/que ./app.rb                                                                                                     
Que started worker process with:
  Worker threads: 6 (priorities: 10, 30, 50, any, any, any)
  Buffer size: 2-8
  Queues:
    - default (poll interval: 5s)
Que waiting for jobs...

➜ ./bin/que -w 9 -p 1,2,3,4,5,6,7 -i 1.2 -q a=10 -q b=20.05 -q c --minimum-buffer-size 0 --maximum-buffer-size 1 ./app.rb
Que started worker process with:
  Worker threads: 9 (priorities: 1, 2, 3, 4, 5, 6, 7, any, any)
  Buffer size: 0-1
  Queues:
    - a (poll interval: 10.0s)
    - b (poll interval: 20.05s)
    - c (poll interval: 1.2s)
Que waiting for jobs...

Copy link
Copy Markdown
Contributor

@oeoeaio oeoeaio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one!

@ZimbiX ZimbiX merged commit 93b2847 into master Feb 24, 2022
@ZimbiX ZimbiX deleted the log-config-on-startup branch February 24, 2022 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants