kshitijk4poor
2b4e70ec07
refactor(cli): use the router's run_in_threadpool alias; offload profile model write
...
The module already binds run_in_threadpool (used by list_profiles_endpoint)
and every sibling router uses the same starlette helper; the nine new
loop.run_in_executor(None, _run) sites now go through that alias so the
file has one offload idiom. Behaviour-identical (both hand the callable to
a worker thread).
Also sweeps the one endpoint the PR left synchronous:
update_profile_model_endpoint's _write_profile_model reads and rewrites
the profile's config.yaml on the event loop.
2026-09-03 01:56:47 +05:30
..
2026-09-03 01:43:22 +05:30
2026-09-02 00:44:19 -07:00
2026-09-02 06:36:16 -07:00
2026-09-02 20:16:14 +05:30
2026-08-31 01:04:11 -07:00
2026-09-02 10:55:57 -07:00
2026-09-03 01:56:47 +05:30
2026-09-02 12:11:15 -05:00
2026-09-01 14:11:55 +05:30
2026-08-28 11:54:33 +05:30
2026-09-02 07:01:23 -07:00
2026-09-02 09:57:39 -07:00
2026-09-02 16:57:21 +05:30
2026-09-02 00:06:01 -07:00
2026-09-02 10:33:43 -07:00
2026-08-30 04:53:39 -07:00
2026-09-02 16:57:21 +05:30
2026-09-03 01:33:18 +05:30
2026-09-02 06:47:55 -07:00
2026-09-01 10:56:49 -07:00
2026-09-01 09:28:01 -07:00
2026-08-31 09:56:43 -07:00
2026-08-31 12:36:33 -07:00
2026-08-12 17:25:30 -05:00
2026-08-31 20:43:36 -05:00
2026-08-30 01:20:27 -07:00
2026-08-30 01:20:27 -07:00
2026-09-01 08:36:03 -07:00
2026-09-02 00:44:19 -07:00
2026-08-31 10:05:13 -07:00
2026-08-28 05:45:00 -07:00
2026-08-28 12:20:40 -07:00
2026-09-02 06:19:03 -07:00
2026-09-01 00:35:29 +05:30
2026-07-29 13:10:23 -07:00
2026-08-31 09:56:43 -07:00
2026-07-29 13:10:23 -07:00
2026-08-27 13:48:51 -07:00
2026-08-31 07:28:22 -07:00
2026-08-31 09:56:04 -07:00
2026-09-02 07:26:52 -07:00
2026-08-29 18:34:35 -07:00
2026-08-31 10:00:38 -07:00
2026-09-01 09:28:01 -07:00
2026-09-01 09:28:01 -07:00
2026-06-18 16:26:34 +07:00
2026-09-01 09:28:01 -07:00
2026-09-01 09:28:01 -07:00
2026-08-31 10:00:55 -07:00
2026-08-31 10:53:18 -07:00
2026-08-31 10:53:18 -07:00
2026-05-27 13:55:51 -07:00
2026-05-28 22:26:25 -07:00
2026-09-01 11:25:10 -07:00
2026-08-28 12:36:15 -07:00
2026-08-27 07:52:26 -07:00
2026-08-27 07:52:26 -07:00
2026-09-01 10:52:42 -07:00
2026-08-29 18:23:07 -07:00
2026-07-31 22:35:16 -07:00
2026-08-31 12:22:17 -07:00
2026-08-31 10:03:34 -07:00
2026-08-13 11:49:14 -07:00
2026-08-31 05:56:18 -07:00
2026-08-31 11:23:48 -07:00
2026-08-31 09:56:04 -07:00
2026-08-31 09:56:54 -07:00
2026-08-21 21:53:11 +05:30
2026-09-02 07:26:52 -07:00
2026-09-02 04:15:02 -07:00
2026-06-24 04:16:54 +05:30
2026-08-31 09:56:43 -07:00
2026-09-02 16:57:21 +05:30
2026-08-23 18:25:12 -07:00
2026-08-27 07:52:26 -07:00
2026-07-29 13:10:23 -07:00
2026-08-31 09:58:40 -07:00
2026-08-29 18:23:07 -07:00
2026-09-02 06:17:47 -07:00
2026-08-12 20:02:07 -07:00
2026-06-07 17:49:38 -07:00
2026-08-31 09:56:43 -07:00