Commit 551429d
authored
Remove "Thin" webserver (#4670)
* Remove EventMachine from Puma
* preparation for Thin removal
* replace EventMachine with Concurrent::TimerTask
* remove "thread_info_event_machine" metrics
* Remove Thin webserver
* Update metrics_spec.rb test
* explicitly start and stop MetricsWebserver with Prometheus middleware
* Fix Rack response for Puma webserver
* Rack expects an enumerable. An empty string doesn't work (it worked for Thin, though).
* Fix CORS unit test
* Shutdown metrics_webserver after each test
* Simplify specs (remove redundancies)
* Remove "threadpool_size" config parameter
* was only used for Thin/EventMachine
* Simplify spec: Extract duplicate double(:server) setup1 parent 14038c1 commit 551429d
File tree
25 files changed
+70
-432
lines changed- app/controllers/internal
- config
- lib
- cloud_controller
- config_schemas
- runners
- middleware
- spec
- fixtures/config
- request/internal
- unit
- controllers/internal
- lib
- cloud_controller
- diego
- metrics
- runners
- vcap
- middleware
25 files changed
+70
-432
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
40 | | - | |
41 | 39 | | |
42 | 40 | | |
43 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | 132 | | |
134 | 133 | | |
135 | 134 | | |
| |||
144 | 143 | | |
145 | 144 | | |
146 | 145 | | |
147 | | - | |
148 | 146 | | |
149 | 147 | | |
150 | 148 | | |
| |||
567 | 565 | | |
568 | 566 | | |
569 | 567 | | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | 568 | | |
576 | 569 | | |
577 | 570 | | |
| |||
624 | 617 | | |
625 | 618 | | |
626 | 619 | | |
627 | | - | |
628 | 620 | | |
629 | 621 | | |
630 | 622 | | |
| |||
690 | 682 | | |
691 | 683 | | |
692 | 684 | | |
693 | | - | |
694 | 685 | | |
695 | 686 | | |
696 | 687 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
272 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
398 | | - | |
| 397 | + | |
399 | 398 | | |
400 | 399 | | |
401 | 400 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
319 | 318 | | |
320 | 319 | | |
321 | | - | |
| 320 | + | |
322 | 321 | | |
323 | 322 | | |
324 | 323 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | | - | |
| 35 | + | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 47 | + | |
53 | 48 | | |
54 | 49 | | |
55 | 50 | | |
| |||
This file was deleted.
0 commit comments