TAstaServerSocket.MaximumSessions
Applies to
TAstaServerSocket
Declaration
property
MaximumSessions: Integer; default -1;
Description
When running the server in Pooled
Sessions threading model at server startup DatabaseSessions number of
DataModules are created on the server by calling the ThreadedDBSupplySession
event and adding those DataModules the AstaSessionList.
The AstaSessionList will expand by demand. You can control the maximum number of Pool Sessions with the
MaximumSessions property. When this MaximumSessions property is set and the pool tries to expand beyond
that number, Database Requests are Queued until a Session becomes available.
See Threading ASTA Servers for a fuller discussion.