Hello,
Having the following queue:
{ok, Q}= esq:new( "priv/client_producer", [{tts, 0}, {capacity, 0}]).
After I add few items inside the queue and restart the app and do:
I always receive undefined but esq:deq always returns items. I'm expecting head to return same stuff as deq but without removing the item from queue.
I'm using [{tts, 0}, {capacity, 0}] to make sure all items are going on the disk directly. I'm wrong ?
Silviu