Skip to content

Commit b72ad6a

Browse files
authored
Merge pull request #21 from PRODYNA/feature/reduce-window-size-to-50
Reduce window size
2 parents 13b2bed + aac12a4 commit b72ad6a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

userlist/collaborators.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import (
99
"time"
1010
)
1111

12+
const windowSize = 100
13+
1214
func (c *UserListConfig) loadCollaborators() error {
1315
slog.Info("Loading collaborators", "enterprise", c.enterprise)
1416
c.userList = UserList{
@@ -135,7 +137,7 @@ func (c *UserListConfig) loadCollaborators() error {
135137

136138
variables := map[string]interface{}{
137139
"organization": githubv4.String(org.Login),
138-
"first": githubv4.Int(100),
140+
"first": githubv4.Int(20),
139141
"after": (*githubv4.String)(nil),
140142
}
141143

0 commit comments

Comments
 (0)