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: web/src/session/base.ts
+20-10Lines changed: 20 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -264,7 +264,7 @@ export class BaseSession extends Container<Env> {
264
264
this.startRetries++;
265
265
console.warn(`[onStop] Container died during provisioning, retry ${this.startRetries}/3`);
266
266
awaitnewPromise((r)=>setTimeout(r,2000));
267
-
voidthis.startContainer(this.ctx.id.name!);
267
+
voidthis.startContainer(this.sessionId);
268
268
return;
269
269
}
270
270
awaitthis.closeSession("container_stopped");
@@ -280,7 +280,8 @@ export class BaseSession extends Container<Env> {
280
280
this.broadcast({
281
281
type: "SYSTEM_NOTICE",
282
282
payload: {
283
-
message: "We just pushed an update to glua.dev. We can't hot-swap running sessions (yet), so yours had to be closed — sorry about that 🥀 Start a new one to pick up where you left off!",
283
+
message:
284
+
"We just pushed an update to glua.dev. We can't hot-swap running sessions (yet), so yours had to be closed — sorry about that 🥀 Start a new one to pick up where you left off!",
284
285
},
285
286
});
286
287
awaitthis.closeSession("deploy_rollout");
@@ -387,9 +388,12 @@ export class BaseSession extends Container<Env> {
0 commit comments