Durable Objects appear to be dropping elements in array

I have a queue that grabs 100 contacts per call and then loops back on itself until all of the contacts are gotten. I am using itty-durable if that matters. The problem is: When the array hits rougly 1000 entries, it starts dropping values. There are no other paths accessing this DO, and the only method that access the array is this one:
async addSends(items){
//this.sends.push(...items);
items.forEach(element => {
this.sends.push(element)
});

return this.getCounts();
}
async addSends(items){
//this.sends.push(...items);
items.forEach(element => {
this.sends.push(element)
});

return this.getCounts();
}
Very simple call. Any ideas? The class is being extended from createDurable
export class Sender extends createDurable({ autoReturn: true, autoPersist: true }) {
export class Sender extends createDurable({ autoReturn: true, autoPersist: true }) {
And because it is being isntantiated from a queue, I am using ProxyDurable:
this.sendDO = proxyDurable(env.SENDS, doParams)
this.sendDO = proxyDurable(env.SENDS, doParams)
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?