Browse Source

Removed webdav timeout

Toby Chui 1 year ago
parent
commit
eb3f99a9c7
1 changed files with 0 additions and 1 deletions
  1. 0 1
      mod/filesystem/abstractions/webdavfs/webdavfs.go

+ 0 - 1
mod/filesystem/abstractions/webdavfs/webdavfs.go

@@ -35,7 +35,6 @@ type WebDAVFileSystem struct {
 func NewWebDAVMount(UUID string, Hierarchy string, root string, user string, password string) (*WebDAVFileSystem, error) {
 	//Connect to webdav server
 	c := gowebdav.NewClient(root, user, password)
-	c.SetTimeout(5 * time.Second)
 	err := c.Connect()
 	if err != nil {
 		log.Println("[WebDAV FS] Unable to connect to remote: ", err.Error())