Commit ac54ab8
committed
fix(config): remove sentinel conversions, use reference.conf defaults
Remove incorrect if(==sentinel)→default conversions from Args.java
that were added during refactoring. These break user configs that
explicitly set the sentinel value (e.g. minEffectiveConnection=0
in system-test). Now reference.conf provides the actual default
values directly:
- rpcThreadNum: sentinel 16→0 (0 means auto-detect)
- maxConcurrentCallsPerConnection: 100→2147483647 (Integer.MAX_VALUE)
- flowControlWindow: 0→1048576 (1MB, gRPC default)
- maxMessageSize: 0→4194304 (4MB, gRPC default)
- maxHeaderListSize: 0→8192 (gRPC default)
- minEffectiveConnection: remove if(==0)→1 conversion entirely1 parent 1bbbe5a commit ac54ab8
2 files changed
Lines changed: 11 additions & 28 deletions
File tree
- common/src/main/resources
- framework/src/main/java/org/tron/core/config/args
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
272 | | - | |
| 271 | + | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
276 | | - | |
| 275 | + | |
| 276 | + | |
277 | 277 | | |
278 | | - | |
279 | | - | |
| 278 | + | |
| 279 | + | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
288 | | - | |
| 287 | + | |
| 288 | + | |
289 | 289 | | |
290 | | - | |
291 | | - | |
| 290 | + | |
| 291 | + | |
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| |||
Lines changed: 1 addition & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
546 | | - | |
547 | | - | |
| 546 | + | |
548 | 547 | | |
549 | 548 | | |
550 | 549 | | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | 550 | | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | 551 | | |
560 | 552 | | |
561 | 553 | | |
562 | 554 | | |
563 | 555 | | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | 556 | | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | 557 | | |
572 | 558 | | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | 559 | | |
577 | 560 | | |
578 | 561 | | |
| |||
0 commit comments