瀏覽代碼

Removed webdav timeout

Toby Chui 1 年之前
父節點
當前提交
eb3f99a9c7
共有 1 個文件被更改,包括 0 次插入1 次删除
  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())