-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Readme init/1
return value
#2
Comments
Good catch @tsloughter, that's right. I plan to redo the whole readme because it does not make it obvious enough how sbroker can be used. In the next release it will be: {ok, {AskQueueSpec, AskRQueueSpec, [MeterSpec]}} So we can run any number of meters. The single meter was an intermediate step until all built in meters were written (they are now). I would prefer not to introduce meters at the start of the readme so will update it when doing multiple meters. |
Cool, sounds good. I discovered this because I couldn't get any example to work even after adding the
|
This is the Master now gives control of timeouts to the callback modules, e.g. the queues. This means {sbroker_alarm_meter, {100, 1000, ?MODULE}} This will set an alarm with the |
Fixed in 93021f5 |
In the readme the return value from
init/1
is{ok, {AskQueueSpec, AskRQueueSpec}}.
, but it should be{ok, {AskQueueSpec, AskRQueueSpec, MeterSpec}}.
now?The text was updated successfully, but these errors were encountered: