We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca0d2a9 commit 1c23618Copy full SHA for 1c23618
cmd/sync/main.go
@@ -27,7 +27,7 @@ func Run(lc *leetcode.Leetcode, isNotion bool) {
27
}
28
29
g, _ := errgroup.WithContext(context.TODO())
30
- nThread := 5
+ nThread := 1
31
32
in := make(chan *notion.Record, 10)
33
go func() {
internal/notion/notion.go
@@ -152,7 +152,7 @@ func ParseProperty(property notionapi.Property) string {
152
153
154
func NewNotion(token string) *Notion {
155
- client := notionapi.NewClient(notionapi.Token(token))
+ client := notionapi.NewClient(notionapi.Token(token), notionapi.WithRetry(10))
156
return &Notion{
157
client: client,
158
0 commit comments