mirror of
https://github.com/evennia/evennia.git
synced 2026-03-21 15:26:30 +01:00
This allows e.g. utils.utils.run_async to offload long-running functions to a completely different subprocess entirely, offering real parallelism. Implementation is still experimental, notably not all objects can be transferred safely across the wire; also there is no concept of updating caches yet - so adding an object from the subprocess side will not be known in the main thread yet (since caches cannot yet tell the underlying database has changed).
10 lines
289 B
Python
10 lines
289 B
Python
"""
|
|
Makes it easier to import by grouping all relevant things already at this level.
|
|
|
|
You can henceforth import most things directly from src.server
|
|
Also, the initiated object manager is available as src.server.manager.
|
|
|
|
"""
|
|
|
|
from src.server.models import *
|
|
manager = ServerConfig.objects
|