summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port_rpc.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-12-27Rescheduling of pending request after configured timeout.Max Romanov1-4/+0
New optional configuration parameter introduced: limits.reschedule_timeout. Default value 1 second. In the case when request is written to the port socket 'in advance', it is called 'pending'. On every completed request, the head of pending request is checked against reschedule timeout. If this request waiting for execution longer than timeout, it is cancelled, new port selected for this request.
2017-12-27Fixing application timeout.Max Romanov1-18/+37
Application timeout limits maximum time of worker response in processing particular request. Not including the time required to start worker, time in request queue etc.
2017-09-15Introducing application timeout.Max Romanov1-73/+188
2017-09-06Style fixes.Igor Sysoev1-6/+10
2017-08-11RPC: peer pid special value -1 may be used if pid is unknown.Max Romanov1-36/+43
2017-08-02Port RPC interface introduced.Max Romanov1-0/+314
Usage: 1. Register handlers in incoming port with nxt_port_rpc_register_handler(). 2. Use return value as a stream identifier for next nxt_port_socket_write().