8000 fix(115_open): add delay in MakeDir function to handle rate limiting · AlistGo/alist@bc5117f · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit bc5117f

Browse files
committed
fix(115_open): add delay in MakeDir function to handle rate limiting
1 parent 11e7284 commit bc5117f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/115_open/driver.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ func (d *Open115) MakeDir(ctx context.Context, parentDir model.Obj, dirName stri
117117
if err != nil {
118118
return nil, err
119119
}
120+
time.Sleep(800 * time.Millisecond)
120121
return &Obj{
121122
Fid: resp.FileID,
122123
Pid: parentDir.GetID(),

0 commit comments

Comments
 (0)
0