mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-11-21 17:10:34 +00:00
Print server types when starting servers
Should have done this back when I added serverType.
This commit is contained in:
@@ -428,7 +428,7 @@ void CNServer::removePollFD(int fd) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CNServer::start() {
|
void CNServer::start() {
|
||||||
std::cout << "Starting server at *:" << port << std::endl;
|
std::cout << "Starting " << serverType << " server at *:" << port << std::endl;
|
||||||
while (active) {
|
while (active) {
|
||||||
// the timeout is to ensure shard timers are ticking
|
// the timeout is to ensure shard timers are ticking
|
||||||
int n = poll(fds.data(), fds.size(), 50);
|
int n = poll(fds.data(), fds.size(), 50);
|
||||||
|
|||||||
Reference in New Issue
Block a user