brett
07/07/2021, 1:01 AMbrett
07/07/2021, 1:03 AMjed
07/07/2021, 1:18 AMmikeysee
07/07/2021, 1:45 AMbrett
07/07/2021, 2:20 AMmikeysee
07/07/2021, 2:20 AMjohn.spurlock
07/07/2021, 1:49 PMError: Durable Object is overloaded. Requests queued for too long.
brett
07/07/2021, 1:50 PMjohn.spurlock
07/07/2021, 1:56 PMput
returns, but the data is not actually considered flushed to storage? (ie the 'requests' are underlying storage requests, not fetch requests)john.spurlock
07/07/2021, 1:58 PMbrett
07/07/2021, 1:58 PMbrett
07/07/2021, 1:59 PMbrett
07/07/2021, 2:00 PMjohn.spurlock
07/07/2021, 2:00 PMjohn.spurlock
07/07/2021, 2:02 PMbrett
07/07/2021, 2:15 PMJens
07/07/2021, 3:59 PMthis.state.storage.list()
really works from a DO?
I can put and get values, I can print out that the values exist in the same DO (checked state ID) but if I list
I only get an empty object back.john.spurlock
07/07/2021, 4:05 PMMap
promise back. Can iterate over the entries with something like: for (const [key, value] of await this.state.storage.list()) {...
eidam | SuperSaaS
07/07/2021, 4:08 PMObject.fromEntries(await this.storage.list())
to get the objectJens
07/07/2021, 4:38 PMconst res = Object.fromEntries(value);
Jens
07/07/2021, 4:39 PMJSON.stringify(await this.storage.list())
always returns {}
I guess I'm just lacking understanding of JSeidam | SuperSaaS
07/07/2021, 4:42 PMToby
07/07/2021, 11:12 PMjohn.spurlock
07/08/2021, 2:13 AMalbert
07/08/2021, 2:24 PMDurable Object -> Bundled Worker
traffic exempt from egress charges or will it incur the same charges as Durable Object -> WWW or WebSocket
traffic?kenton
07/08/2021, 3:23 PMJens
07/08/2021, 3:26 PMVanessa🦩
07/08/2021, 3:30 PMalbert
07/08/2021, 3:30 PMreturn fetch("https://www.example.com/")
in the Durable Object and return stub.fetch(request.url)
in the Bundled Worker, that would only get me charged for small amount of data used by headers in the GET
request made by the Durable Object?