mirror of
https://github.com/openai/codex.git
synced 2026-05-02 12:21:26 +03:00
feat: max threads config (#9483)
# External (non-OpenAI) Pull Request Requirements Before opening this Pull Request, please read the dedicated "Contributing" markdown file or your PR may be closed: https://github.com/openai/codex/blob/main/docs/contributing.md If your PR conforms to our contribution guidelines, replace this text with a detailed and high quality description of your changes. Include a link to a bug report or enhancement request.
This commit is contained in:
@@ -366,7 +366,8 @@ impl ThreadManagerState {
|
||||
codex,
|
||||
session_configured.rollout_path.clone(),
|
||||
));
|
||||
self.threads.write().await.insert(thread_id, thread.clone());
|
||||
let mut threads = self.threads.write().await;
|
||||
threads.insert(thread_id, thread.clone());
|
||||
|
||||
Ok(NewThread {
|
||||
thread_id,
|
||||
|
||||
Reference in New Issue
Block a user