mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
requirements: Upgrade Django to 4.1.
zerver/migrations/0240_usermessage_migrate_bigint_id_into_id.py needs to be updated to account for Django 4.1 creating AutoField as an identity column rather than a serial column. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
67cbb21267
commit
92ad4455ed
@@ -173,7 +173,14 @@ def create_test_databases(worker_id: int) -> None:
|
||||
connection.close()
|
||||
|
||||
|
||||
def init_worker(counter: "multiprocessing.sharedctypes.Synchronized[int]") -> None:
|
||||
def init_worker(
|
||||
counter: "multiprocessing.sharedctypes.Synchronized[int]",
|
||||
initial_settings: Optional[Dict[str, Any]] = None,
|
||||
serialized_contents: Optional[Dict[str, str]] = None,
|
||||
process_setup: Optional[Callable[..., None]] = None,
|
||||
process_setup_args: Optional[Tuple[Any, ...]] = None,
|
||||
debug_mode: Optional[bool] = None,
|
||||
) -> None:
|
||||
"""
|
||||
This function runs only under parallel mode. It initializes the
|
||||
individual processes which are also called workers.
|
||||
|
||||
Reference in New Issue
Block a user