Phase 13, part 5: each team's jobs, locks, files and sign-ins
Background jobs run for each active team on its own Server and under its own locks, a few teams at a time and from a different team each round, so the work is shared between copies of the app and no team holds up another. Each team's files are under its own prefix, and an OAuth sign-in comes back only to the team that started it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -34,6 +34,7 @@ type Pending struct {
|
||||
RedirectURI string
|
||||
Started time.Time
|
||||
For int64 `json:",omitempty"` // a person signing in their own posting account; 0: the company's
|
||||
Team int64 `json:",omitempty"` // the team it was started in (multi-tenant)
|
||||
}
|
||||
|
||||
// --- X ---
|
||||
|
||||
Reference in New Issue
Block a user