qmore 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +5 -0
- data/lib/qmore/server/views/dynamicqueues.erb +1 -1
- data/lib/qmore/server/views/priorities.erb +1 -1
- data/lib/qmore/server.rb +2 -2
- data/lib/qmore/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The list below shows the dynamic queues currently defined. When you start a worker with a dynamic queue key (@key_name), that key is looked up from the list below to determine the actual queues the worker should pull from. Wildcards (*) and negation (leading !) can be used to select the queues the worker should process. There is always a fallback key - @default, which workers will use if the key for that worker is empty. If both the key and the fallback are empty, the worker defaults to processing '*'
|
7
7
|
</p>
|
8
8
|
|
9
|
-
<form action="/dynamicqueues" method="POST" style="float:none; margin-top:10px">
|
9
|
+
<form action="<%= u '/dynamicqueues' %>" method="POST" style="float:none; margin-top:10px">
|
10
10
|
|
11
11
|
<table class='queues'>
|
12
12
|
<tr>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
The list below orders queue name patterns by the priority you wish them to be executed in. The "Fairly" option allows you to indicate you want the queues within that pattern space be selected in a fair (random) manner, i.e. like resque-fairly. The 'default' pattern must always exist, and matches against all queues that aren't in any of the other patterns.
|
6
6
|
</p>
|
7
7
|
|
8
|
-
<form action="/queuepriority" method="POST" style="float:none; margin-top:10px">
|
8
|
+
<form action="<%= u '/queuepriority' %>" method="POST" style="float:none; margin-top:10px">
|
9
9
|
|
10
10
|
<table class="priorities">
|
11
11
|
<tr>
|
data/lib/qmore/server.rb
CHANGED
@@ -70,7 +70,7 @@ module Qmore
|
|
70
70
|
queues[key] = values
|
71
71
|
end
|
72
72
|
Attr.set_dynamic_queues(queues)
|
73
|
-
redirect "/dynamicqueues"
|
73
|
+
redirect to("/dynamicqueues")
|
74
74
|
end
|
75
75
|
|
76
76
|
#
|
@@ -85,7 +85,7 @@ module Qmore
|
|
85
85
|
app.post "/queuepriority" do
|
86
86
|
priorities = params['priorities']
|
87
87
|
Attr.set_priority_buckets priorities
|
88
|
-
redirect "/queuepriority"
|
88
|
+
redirect to("/queuepriority")
|
89
89
|
end
|
90
90
|
|
91
91
|
end
|
data/lib/qmore/version.rb
CHANGED