• George Knee's avatar
    batcher refactor: flatten out go routines (#12405) · b3ec4d69
    George Knee authored
    * flatten out batcher goroutines
    
    * move wg increment to parent fn
    
    * ensure mainloop closes before receipts loop
    
    * add comments
    
    * pass a context to both loops
    
    * remove debug lines
    
    * clean up mutex handling in receiptsLoop
    
    * don't need to set default value the first time
    * avoid writing to Logger while holding mutex
    
    * typo
    
    * increase log level and include tx.ID
    
    * fix changes from merge, hoist throttling loop goroutine launch to driver
    
    * call done on waitgroup in throttlingLoop
    
    * move function around
    
    hoping this makes the diff nicer
    b3ec4d69
Name
Last commit
Last update
..
batch_submitter.go Loading commit data...
channel.go Loading commit data...
channel_builder.go Loading commit data...
channel_builder_test.go Loading commit data...
channel_config.go Loading commit data...
channel_config_provider.go Loading commit data...
channel_config_provider_test.go Loading commit data...
channel_config_test.go Loading commit data...
channel_manager.go Loading commit data...
channel_manager_test.go Loading commit data...
channel_test.go Loading commit data...
config.go Loading commit data...
config_test.go Loading commit data...
driver.go Loading commit data...
driver_test.go Loading commit data...
service.go Loading commit data...
test_batch_submitter.go Loading commit data...
tx_data.go Loading commit data...
tx_data_test.go Loading commit data...