Skip to content

Commit

Permalink
* Restore a from previous commits.
Browse files Browse the repository at this point in the history
* Add configuration options to mangosd.conf.

git-svn-id: http://mangos.svn.sourceforge.net/svnroot/mangos@6766 26674162-90ff-0310-a85b-b64107c8dee9
  • Loading branch information
mr_derex committed Oct 12, 2008
1 parent 834d41c commit d1ad38a
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 4 deletions.
4 changes: 2 additions & 2 deletions trunk/src/mangosd/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ install-data-hook:
if test -f $(DESTDIR)$(sysconfdir)/$$dest; then \
echo "$@ will not overwrite existing $(DESTDIR)$(sysconfdir)/$$dest"; \
else \
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$dest"; \
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$dest; \
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$dest"; \
$(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$dest; \
fi; \
done

Expand Down
27 changes: 27 additions & 0 deletions trunk/src/mangosd/mangosd.conf.dist.in
Original file line number Diff line number Diff line change
Expand Up @@ -1024,6 +1024,33 @@ Death.SicknessLevel = 11
Death.CorpseReclaimDelay.PvP = 1
Death.CorpseReclaimDelay.PvE = 1

###################################################################################################################
#
# Network config
#
# Threads: Number of threads for network, recommend 1 thread per 1000 connections.
# Default: 1
#
# OutKBuff: The size of the output kernel buffer used ( SO_SNDBUF socket option, tcp manual ).
# Default: -1 (Use system default setting)
#
# OutUBuff: Userspace buffer for output. This is amount of memory reserved per each connection.
# Default: 65536
#
# TcpNoDelay:
# TCP Nagle algorithm setting
# Default: 0 (enable Nagle algorithm, less traffic, more latency)
# 1 (TCP_NO_DELAY, disable Nagle algorithm, more traffic but less latency)
#
#
#
###################################################################################################################

Network.Threads = 1
Network.OutKBuff = -1
Network.OutUBuff = 65536
Network.TcpNodelay = 1

###################################################################################################################
# CONSOLE AND REMOTE ACCESS
#
Expand Down
4 changes: 2 additions & 2 deletions trunk/src/realmd/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ install-data-hook:
if test -f $(DESTDIR)$(sysconfdir)/$$dest; then \
echo "$@ will not overwrite existing $(DESTDIR)$(sysconfdir)/$$dest"; \
else \
echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$dest"; \
$(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$dest; \
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$dest"; \
$(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$dest; \
fi; \
done

Expand Down

0 comments on commit d1ad38a

Please sign in to comment.