File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change 3131 bundle exec rake compile
3232 cd experiments
3333 bundle install
34- # Improve the experiment data collection and graphing
35- sed -i 's/sleep(0.1)/sleep(0.005)/' example_with_circuit_breaker.rb
36- # Make graph larger and more visible
37- sed -i 's/Gruff::Line.new/Gruff::Line.new(1200)/' example_with_circuit_breaker.rb
38- sed -i 's/graph.line_width = 3/graph.line_width = 5/' example_with_circuit_breaker.rb
39- # Add debugging
40- sed -i 's/puts "Generating graph/puts "DEBUG: Total data points:"; puts outcomes.size; puts "Sample data:"; puts outcomes.first(3).inspect; puts "Generating graph/' example_with_circuit_breaker.rb
4134 bundle exec ruby example_with_circuit_breaker.rb
42- echo "=== Generated files ==="
43- ls -la *.png
44- echo "=== File contents check ==="
45- file *.png
4635
4736 - name : Commit Graphs
4837 run : |
You can’t perform that action at this time.
0 commit comments