mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +01:00
77319b570d
scheme where cookie is used only to connect, and is replaced for reconnects by a relay-generated name that's supposed to be unique across all games on all relays and includes a hostname read in from config file; relay assign non-servers' hostIDs.
25 lines
737 B
Makefile
25 lines
737 B
Makefile
# -*- mode: Makefile; -*-
|
|
# Comments start with #, which must be in first column
|
|
#
|
|
# Format: var=value. No spaces between var and value at this point.
|
|
|
|
# Heartbeat timer. Sent to clients.
|
|
HEARTBEAT=6000
|
|
|
|
# How long after the first connection on a cookie until we need to
|
|
# have heard from all players in the game? After this long passes we
|
|
# kill the connection after notifying all that have connected.
|
|
ALLCONN=12000
|
|
|
|
# How many worker threads in the thread pool? Default is five.
|
|
NTHREADS=5
|
|
|
|
# What port do we listen on for incomming connections?
|
|
PORT=10999
|
|
|
|
# And the control port is?
|
|
CTLPORT=11000
|
|
|
|
# Need a unique name for every instance of the relay so they can
|
|
# create game ids guaranteed to be unique
|
|
#SERVERNAME=eehouse.org
|