diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2011-03-04 17:22:18 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2011-03-04 17:22:18 +0000 |
commit | b155306db41afb224a90bd20f142700c42a97efc (patch) | |
tree | 3baac6951b810576faa4df1460b89d359931c3d8 /src/rabbit_amqqueue.erl | |
parent | e2ee61c29871751b648efb3727b991abdd810edf (diff) | |
download | rabbitmq-server-b155306db41afb224a90bd20f142700c42a97efc.tar.gz |
introduce separate type for msg ids
and add some auxiliary types for fun params to a) make their purpose
clearer, and b) work around emacs indentation bugs
Diffstat (limited to 'src/rabbit_amqqueue.erl')
-rw-r--r-- | src/rabbit_amqqueue.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_amqqueue.erl b/src/rabbit_amqqueue.erl index 46b78c39..bbeff1f7 100644 --- a/src/rabbit_amqqueue.erl +++ b/src/rabbit_amqqueue.erl @@ -141,9 +141,9 @@ fun ((boolean()) -> rabbit_types:ok_or_error('not_found') | rabbit_types:connection_exit())). -spec(maybe_run_queue_via_backing_queue/2 :: - (pid(), (fun ((A) -> {[rabbit_guid:guid()], A}))) -> 'ok'). + (pid(), (fun ((A) -> {[rabbit_types:msg_id()], A}))) -> 'ok'). -spec(maybe_run_queue_via_backing_queue_async/2 :: - (pid(), (fun ((A) -> {[rabbit_guid:guid()], A}))) -> 'ok'). + (pid(), (fun ((A) -> {[rabbit_types:msg_id()], A}))) -> 'ok'). -spec(sync_timeout/1 :: (pid()) -> 'ok'). -spec(update_ram_duration/1 :: (pid()) -> 'ok'). -spec(set_ram_duration_target/2 :: (pid(), number() | 'infinity') -> 'ok'). |