You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/resources/ordered_stores.jl
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ end
89
89
functiondo_put(sto::QueueStore{N, T}, put_ev::Put, key::StorePutKey{N, T}) where {N, T<:Number}
90
90
if sto.load < sto.capacity
91
91
sto.load +=one(UInt)
92
-
enqueue!(sto.items, key.item)
92
+
push!(sto.items, key.item)
93
93
schedule(put_ev)
94
94
end
95
95
false
@@ -98,7 +98,7 @@ end
98
98
functiondo_get(sto::QueueStore{N, T}, get_ev::Get, key::StoreGetKey{T}) where {N, T<:Number}
99
99
key.filter !== get_any_item &&error("Filtering not supported for `QueueStore`. Use an unordered store instead, or submit a feature request for implementing filtering to our issue tracker.")
0 commit comments