File tree Expand file tree Collapse file tree 3 files changed +0
-44
lines changed
Expand file tree Collapse file tree 3 files changed +0
-44
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1616builder . Services . Configure < PeerOptions > (
1717 builder . Configuration . GetSection ( PeerOptions . SECTION_NAME ) ) ;
1818
19- builder . Services . Configure < HealthCheckService . Options > ( builder . Configuration . GetSection ( HealthCheckService . Options . SECTION_NAME ) ) ;
20-
2119// Resolve PeerOptions directly for services that don't use IOptions<T>
2220builder . Services . AddSingleton ( sp => sp . GetRequiredService < IOptions < PeerOptions > > ( ) . Value ) ;
2321
2725builder . Services . AddHostedService < ENetHostedService > ( sp => sp . GetRequiredService < ENetHostedService > ( ) ) ;
2826builder . Services . AddSingleton < ITransport > ( sp => sp . GetRequiredService < ENetHostedService > ( ) ) ;
2927builder . Services . AddHostedService < PeersManager > ( ) ;
30- builder . Services . AddHostedService < HealthCheckService > ( ) ;
3128builder . Services . AddSingleton < MessagePipe > ( ) ;
3229builder . Services . AddSingleton < PeerStateFactory > ( ) ;
3330builder . Services . AddSingleton < PlayerStateInputHandler > ( ) ;
Original file line number Diff line number Diff line change 3333 "MaxParcelZ" : 158 ,
3434 "Padding" : 2 ,
3535 "ParcelSize" : 16
36- },
37- "HealthCheck" : {
38- "Port" : 5000
3936 }
4037}
You can’t perform that action at this time.
0 commit comments