-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding bootstrap for sqld using basic master config, this will eventu…
…ally become the entry point for a docker container
- Loading branch information
RealOrko
committed
Oct 18, 2024
1 parent
15a3eea
commit 1189c15
Showing
7 changed files
with
83 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
// See https://aka.ms/new-console-template for more information | ||
Console.WriteLine("Hello, World!"); | ||
using SqlD; | ||
|
||
Interface.Setup(typeof(Program).Assembly, "appsettings.json"); | ||
Interface.Start(); | ||
Interface.Wait(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"Logging": { | ||
"LogLevel": { | ||
"System": "Error", | ||
"Default": "Error", | ||
"Microsoft": "Error" | ||
} | ||
}, | ||
"SqlD": { | ||
"loglevel": "info", | ||
"enabled": true, | ||
"settings": { | ||
"connections": { | ||
"strategy": "singleton" | ||
}, | ||
"forwarding": { | ||
"allowed": true, | ||
"strategy": "secondary" | ||
}, | ||
"replication": { | ||
"allowed": true, | ||
"interval": 30, | ||
"delay": 30 | ||
} | ||
}, | ||
"registries": [], | ||
"services": [ | ||
{ | ||
"name": "sql-d-master-1", | ||
"database": "sql-d-master-1.db", | ||
"host": "localhost", | ||
"port": 50110, | ||
"tags": [ | ||
"master" | ||
], | ||
"pragma": { | ||
"journalMode": "OFF", | ||
"synchronous": "OFF", | ||
"tempStore": "OFF", | ||
"lockingMode": "OFF", | ||
"countChanges": "OFF", | ||
"pageSize": "65536", | ||
"cacheSize": "10000", | ||
"queryOnly": "OFF", | ||
"autoVacuum": "INCREMENTAL", | ||
"autoVacuumPages": "64" | ||
}, | ||
"forwardingTo": [] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters