Skip to content

Commit

Permalink
remove debug delay
Browse files Browse the repository at this point in the history
  • Loading branch information
apaladiychuk committed May 13, 2024
1 parent ab2642d commit 451ab69
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions backend/core/responder/embedding.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"fmt"
"github.com/shopspring/decimal"
"sync"
"time"
)

type embedding struct {
Expand All @@ -15,7 +14,6 @@ type embedding struct {
func (r *embedding) Send(ctx context.Context, ch chan *Response, wg *sync.WaitGroup, parentMessage *model.ChatMessage) {

for i := 0; i < 4; i++ {
time.Sleep(time.Second * 3)
ch <- &Response{
IsValid: true,
Type: ResponseDocument,
Expand Down

0 comments on commit 451ab69

Please sign in to comment.