소스 검색

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())