docs/dev_manual_examples.rb
######################################
# Session API - Transaction configuration
# Transaction Timeout
######################################
Session API - Transaction configuration
Transaction Timeout
Session API - Transaction configuration Transaction Timeout
def add_person(name)
  driver.session do |session|
    session.write_transaction(max_transaction_retry_time: 5.seconds) { |tx| create_person_node(tx, name) }
  end
end
def add_person ( name ) driver . session do | session | session . write_transaction ( max_transaction_retry_time : 5 . seconds ) { | tx | create_person_node ( tx , name ) } end end
Session API - Transaction configuration
Transaction Timeout
Session API - Transaction configuration Transaction Timeout
name
<not_specific>