Skip to content

Commit

Permalink
Send tokens more frequently
Browse files Browse the repository at this point in the history
  • Loading branch information
nubis committed Sep 1, 2024
1 parent 1ff5dd3 commit 912bd73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async fn main() {
run!("verify_and_appraise_x_handles" { s.handle().verify_and_score_x().await });
}];

every![60 * 1000, |s| {
every![1000, |s| {
run!("send_email_one_time_tokens" { s.one_time_token().send_email_tokens().await });
}];

Expand Down
1 change: 1 addition & 0 deletions scripts/pwa-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ fi
scp -r release/pwa/dist root@$IP:/home/asami/new_pwa &&
ssh root@$IP '
cd /home/asami &&
rm -rf old_pwa &&
mv pwa old_pwa &&
mv new_pwa pwa &&
rm -rf site &&
Expand Down

0 comments on commit 912bd73

Please sign in to comment.