Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irmago
Commits
4c384dec
Commit
4c384dec
authored
Jun 10, 2021
by
Sietse Ringers
Browse files
docs: explain LIMIT 10 clause in keyshare user email job
parent
2509f50b
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/keyshare/tasks/tasks.go
View file @
4c384dec
...
...
@@ -116,6 +116,9 @@ func (t *taskHandler) expireAccounts() {
// Iterate over users we havent seen in ExpiryDelay days, and which have a registered email.
// We ignore (and thus keep alive) accounts without email addresses, as we can't inform their owners.
// (Note that for such accounts we store no email addresses, i.e. no personal data whatsoever.)
// We do this for only 10 users at a time to prevent us from sending out lots of emails
// simultaneously, which could lead to our email server being flagged as sending spam.
// The users excluded by this limit will get their email next time this task is executed.
err
:=
t
.
db
.
QueryIterate
(
`
SELECT id, username, language
FROM irma.users
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment