| 35 | } |
| 36 | |
| 37 | inline |
| 38 | const char *FlowStatusStr(FlowStatus status) { |
| 39 | switch (status) { |
| 40 | case UP: |
| 41 | return "UP"; |
| 42 | case DOWN: |
| 43 | return "DOWN"; |
| 44 | case KEEP: |
| 45 | return "KEEP"; |
| 46 | } |
| 47 | return "UNKONW"; |
| 48 | } |
| 49 | |
| 50 | int FlowControllerImpl::default_net_upper = 30 * 1024 * 1024; // 30MB/s |
| 51 | int FlowControllerImpl::default_net_lower = 15 * 1024 * 1024; // 15MB/s |
no outgoing calls
no test coverage detected