We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 891e2ad commit 55558e0Copy full SHA for 55558e0
1 file changed
pkg/chatgpt/chatgpt.go
@@ -28,7 +28,7 @@ func New(userId string) *ChatGPT {
28
var ctx context.Context
29
var cancel func()
30
31
- ctx, cancel = context.WithTimeout(context.Background(), 600)
+ ctx, cancel = context.WithTimeout(context.Background(), 600*time.Second)
32
timeOutChan := make(chan struct{}, 1)
33
go func() {
34
<-ctx.Done()
0 commit comments