mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 01:39:35 +02:00
Avoid using broad p1_queue:queue() type wherever possible
This commit is contained in:
parent
6011135d24
commit
a2a061c1c8
6 changed files with 13 additions and 11 deletions
|
@ -24,7 +24,7 @@
|
|||
|
||||
-record(lqueue,
|
||||
{
|
||||
queue = p1_queue:new() :: p1_queue:queue(),
|
||||
queue = p1_queue:new() :: p1_queue:queue(lqueue_elem()),
|
||||
max = 0 :: integer()
|
||||
}).
|
||||
|
||||
|
@ -118,7 +118,7 @@
|
|||
just_created = erlang:system_time(microsecond) :: true | integer(),
|
||||
activity = treap:empty() :: treap:treap(),
|
||||
room_shaper = none :: ejabberd_shaper:shaper(),
|
||||
room_queue :: p1_queue:queue() | undefined
|
||||
room_queue :: p1_queue:queue({message | presence, jid()}) | undefined
|
||||
}).
|
||||
|
||||
-type users() :: #{ljid() => #user{}}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue