Custom_fields 更新同步导致值转为数组

类似这样?看起来可行。

DistributedMutex.synchronize("user_data_update_#{user.id}") do
    user.save_custom_fields(true)
end