diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-07-25 17:30:38 +0900 |
---|---|---|
committer | Yuji Yaginuma <yuuji.yaginuma@gmail.com> | 2018-08-18 11:22:41 +0900 |
commit | e49fb7921e94d533ed39c197cf0287120d389b28 (patch) | |
tree | 579f29338a25daeb88379cd1fbac169f18e23b3f /activestorage/lib/active_storage/service/mirror_service.rb | |
parent | d6688892f6fe3a3aae5c146dcee083210b15f65a (diff) | |
download | rails-e49fb7921e94d533ed39c197cf0287120d389b28.tar.gz rails-e49fb7921e94d533ed39c197cf0287120d389b28.tar.bz2 rails-e49fb7921e94d533ed39c197cf0287120d389b28.zip |
Increment execution count before deserialize arguments
Currently, the execution count increments after deserializes arguments.
Therefore, if an error occurs with deserialize, it retries indefinitely.
In order to prevent this, the count is moved before deserialize.
Fixes #33344.
Diffstat (limited to 'activestorage/lib/active_storage/service/mirror_service.rb')
0 files changed, 0 insertions, 0 deletions