Skip to content

Commit 4e9979b

Browse files
committed
Rename service / actor spawning stuff
1 parent a1167f0 commit 4e9979b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/forge/controller/actor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ async def as_service(
169169
}
170170
cfg = ServiceConfig(**cfg_kwargs)
171171

172-
logger.info("Spawning Service for %s", cls.__name__)
172+
logger.info(f"Spawning service {cls.__name__}")
173173
service = Service(cfg, cls, actor_args, actor_kwargs)
174174
await service.__initialize__()
175175
service_interface = ServiceInterface(service, cls)
@@ -231,7 +231,7 @@ async def as_actor(cls: Type[T], *args, **actor_kwargs) -> T:
231231
`procs`) are used to construct a ProcessConfig instance.
232232
If no configuration was stored, defaults to a single process with no GPU.
233233
"""
234-
logger.info("Spawning single actor %s", cls.__name__)
234+
logger.info(f"Spawning actor {cls.__name__}")
235235
actor = await cls.launch(*args, **actor_kwargs)
236236
# Register this actor with the provisioner so it can cleanly shut this down
237237
await register_actor(actor)

0 commit comments

Comments
 (0)