Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Edgecase: graph is restarted during transaction

  • Loading branch information...
commit c3f7077abdc8fb812991e1a4cd85e9e2c093facf 1 parent 2994551
@pangloss pangloss authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/pacer/graph/graph_transactions_mixin.rb
View
2  lib/pacer/graph/graph_transactions_mixin.rb
@@ -76,7 +76,7 @@ def start_transaction!(opts)
end
def finish_transaction!
- threadlocal_graph_info[:tx_depth] -= 1
+ threadlocal_graph_info[:tx_depth] -= 1 rescue nil
end
def base_tx_finalizers
Please sign in to comment.
Something went wrong with that request. Please try again.