Skip to content

Commit 233003f

Browse files
committed
Fix lcg node index, and default ports
1 parent 27f9349 commit 233003f

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

Common/Redis/LcgNode.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
namespace OpenShock.Common.Redis;
44

5-
[Document(StorageType = StorageType.Json, IndexName = "lcg-online-v3")]
5+
[Document(StorageType = StorageType.Json, IndexName = "lcg-online-v4")]
66
public sealed class LcgNode
77
{
88
[RedisIdField] [Indexed] public required string Fqdn { get; set; }
99
[Indexed] public required string Country { get; set; }
10-
[Indexed] public required byte Load { get; set; }
10+
[Indexed(Sortable = true)] public required byte Load { get; set; }
1111
[Indexed] public string Environment { get; set; } = "Production";
1212

1313
}

LiveControlGateway/appsettings.Development.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"Kestrel": {
33
"Endpoints": {
4+
"Http": {
5+
"Url": "http://*:580"
6+
},
47
"Https": {
58
"Url": "https://*:5443"
69
}

LiveControlGateway/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"Kestrel": {
33
"Endpoints": {
44
"Http": {
5-
"Url": "http://*:580"
5+
"Url": "http://*:80"
66
}
77
}
88
},

docker/appsettings.LiveControlGateway.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"Endpoints": {
55
"Https": {
66
"Protocols": "Http1AndHttp2AndHttp3",
7-
"Url": "https://*:5443",
7+
"Url": "https://*:443",
88
"Certificate": {
99
"Path": "/defaultcert.pfx"
1010
}

0 commit comments

Comments
 (0)