Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Commit

Permalink
don't compute matches early
Browse files Browse the repository at this point in the history
  • Loading branch information
kfarwell committed Feb 26, 2022
1 parent f654125 commit 66c41cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/site/onboarding/4.es
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ redis graph write 'MATCH (u:user {username: '''$logged_user'''})
u.agreeableness = '$agreeableness',
u.privacy_personality = '''$p_privacy''''

# Compute matches and proceed
# Proceed
if {! isempty $onboarding} {
redis graph write 'MATCH (u:user {username: '''$logged_user'''})
SET u.onboarding = 5, u.recompute_matches = true, u.initial_matches = true'
SET u.onboarding = 5'
post_redirect /onboarding/5
} {
redis graph write 'MATCH (u:user {username: '''$logged_user'''})
Expand Down

0 comments on commit 66c41cb

Please sign in to comment.