Skip to content

Commit

Permalink
Merge pull request #21 from PRODYNA/feature/reduce-window-size-to-50
Browse files Browse the repository at this point in the history
Reduce window size
  • Loading branch information
dkrizic authored Mar 16, 2024
2 parents 13b2bed + aac12a4 commit b72ad6a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion userlist/collaborators.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import (
"time"
)

const windowSize = 100

func (c *UserListConfig) loadCollaborators() error {
slog.Info("Loading collaborators", "enterprise", c.enterprise)
c.userList = UserList{
Expand Down Expand Up @@ -135,7 +137,7 @@ func (c *UserListConfig) loadCollaborators() error {

variables := map[string]interface{}{
"organization": githubv4.String(org.Login),
"first": githubv4.Int(100),
"first": githubv4.Int(20),
"after": (*githubv4.String)(nil),
}

Expand Down

0 comments on commit b72ad6a

Please sign in to comment.