Skip to content

Commit 85a4c1f

Browse files
committed
Increase page size to make inventory faster
1 parent 92d3b13 commit 85a4c1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/scala/fr/janalyse/cem/externalities/publishadapter/github/GithubPublishAdapter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class GithubPublishAdapter(val config: PublishAdapterConfig) extends PublishAdap
7979
}
8080
}
8181

82-
val count = 10
82+
val count = 100
8383
val userLogin = user.login
8484
val startQuery = uri"$apiUrl/users/$userLogin/gists?page=1&per_page=$count"
8585
worker(Some(startQuery), Nil)

src/main/scala/fr/janalyse/cem/externalities/publishadapter/gitlab/GitlabPublishAdapter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class GitlabPublishAdapter(val config: PublishAdapterConfig) extends PublishAdap
6565
}
6666
}
6767

68-
val count = 20
68+
val count = 100
6969
val startQuery = uri"$apiUrl/snippets?page=1&per_page=$count"
7070
worker(Some(startQuery), Nil)
7171
}

0 commit comments

Comments
 (0)