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 70f2bfd commit bdd88f6Copy full SHA for bdd88f6
src/resolvers/index.ts
@@ -97,7 +97,10 @@ export default {
97
allPosts: (parent, { count }, { faker }) => {
98
const usersToUse = predefinedUsers.slice(
99
0,
100
- count > 200 ? Math.ceil(count / 50) : Math.ceil(count / 20),
+ Math.min(
101
+ 4,
102
+ count > 200 ? Math.ceil(count / 50) : Math.ceil(count / 20),
103
+ ),
104
)
105
return new Array(count).fill(0).map((_) => {
106
const title = faker.random.words()
0 commit comments