4433e02c4e4741c23a5455475d997a5f51b13a72

Author
Ayman Bagabas <ayman.bagabas@gmail.com>
Committer
Ayman Bagabas <ayman.bagabas@gmail.com>
Date

Message

fix(backend): remove clone timeout

Diff

 1diff --git a/server/backend/sqlite/sqlite.go b/server/backend/sqlite/sqlite.go
 2index 51090683ad17b54ee9a031965bb30cbf9a9c4bd5..a96523c33f299b8b62878f8b1f54e6fac63001b9 100644
 3--- a/server/backend/sqlite/sqlite.go
 4+++ b/server/backend/sqlite/sqlite.go
 5@@ -7,7 +7,6 @@ import (
 6 	"os"
 7 	"path/filepath"
 8 	"strings"
 9-	"time"
10 
11 	"github.com/charmbracelet/log"
12 	"github.com/charmbracelet/soft-serve/git"
13@@ -192,7 +191,6 @@ func (d *SqliteBackend) ImportRepository(name string, remote string, opts backen
14 		Bare:    true,
15 		Mirror:  opts.Mirror,
16 		Quiet:   true,
17-		Timeout: 15 * time.Minute,
18 		CommandOptions: git.CommandOptions{
19 			Timeout: -1,
20 			Context: d.ctx,