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
Control outbox signals include an additional `region_name` argument:
82
+
Control outbox signals include an additional `cell_name` argument:
83
83
84
84
-`sender`: `OutboxCategory` enum value
85
85
-`payload`: `dict | None`
86
86
-`object_identifier`: `int`
87
87
-`shard_identifier`: `int`
88
-
-`region_name`: `str` — the target region
88
+
-`cell_name`: `str` — the target cell
89
89
-`shard_scope`: `int`
90
90
-`date_added`: `datetime`
91
91
-`scheduled_for`: `datetime`
@@ -118,7 +118,7 @@ For categories where the receiver makes an RPC call without looking up a model:
118
118
defprocess_my_category(
119
119
payload: Mapping[str, Any], shard_identifier: int, **kwds: Any
120
120
) -> None:
121
-
my_region_service.do_something(
121
+
my_cell_service.do_something(
122
122
organization_id=shard_identifier,
123
123
data=payload["data"],
124
124
)
@@ -144,4 +144,4 @@ The tombstone system drives `HybridCloudForeignKey` cascade deletes across silos
144
144
145
145
**When to use**: Any receiver that needs to distinguish between "object was created/updated" and "object was deleted". Not needed for payload-only categories (audit logs, IP events) where the payload carries all necessary data.
146
146
147
-
**`region_name` parameter**: Pass `region_name` for control outbox receivers (tombstone goes to the cell). Omit for cell outbox receivers (tombstone goes to control).
147
+
**`cell_name` parameter**: Pass `cell_name` for control outbox receivers (tombstone goes to the cell). Omit for cell outbox receivers (tombstone goes to control).
0 commit comments