LearnersGuild / idm

identity management service
MIT License
2 stars 24 forks source link

Do not queue userCreated jobs when user rows are only updated #201

Closed heyheyjp closed 7 years ago

heyheyjp commented 7 years ago

Somehow a bunch of userCreated jobs were queued today following the merge and deployment of https://github.com/LearnersGuild/idm/pull/199/files. This, along with another error found in echo, resulted in the reset of many users' phase to 1.

Why were the jobs queued if they are only supposed to be created for NEW user record inserts?