Skip to content

Commit 6a0992f

Browse files
committed
dispatch: updates to secretary
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
1 parent 1498f40 commit 6a0992f

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,11 @@ mcpserver start --config examples/jobspec/mcpserver.yaml --join http://0.0.0.0:8
277277
If you are doing experiments, you can bring up a hub the same way:
278278

279279
```bash
280+
# Start as a standalone hub (recommended)
280281
mcpserver start --hub --hub-secret potato
282+
283+
# Start in dual mode (not recommended for production or performance experiments
284+
mcpserver start --dual --hub-secret potato
281285
```
282286

283287
To mock (simulate) a worker, add `--mock`, optionally with a particular archetype (one of `hpc`, `cloud`, or `standalone`). A worker ID is suggested to make the seed reproducible.

mcpserver/core/hub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def set_running_mode(self, batch_size=None, serial=False, dual=False):
8282
self.batch_size = batch_size
8383
self.semaphore = asyncio.Semaphore(batch_size)
8484
self.run_on_fleet = self.run_on_fleet_batched
85-
logger.info(f"🚦 Hub initialized with Batch Size: {batch_size}")
85+
logger.info(f"🚦 Hub initialized with Batch Size: {batch_size} Worker mode: {dual}")
8686

8787
# If we are also running as a worker, add ourselves to the fleet
8888
self.dual = dual

0 commit comments

Comments
 (0)