• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 28852866344
88%

Build:
DEFAULT BRANCH: master
Ran 07 Jul 2026 08:50AM UTC
Jobs 1
Files 525
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Jul 2026 08:34AM UTC coverage: 87.737% (-0.01%) from 87.747%
28852866344

push

github

sergepetrenko
box: allow to close idle sessions by timeout

The timer runs in the IPROTO thread's event loop to keep the
implementation simple: no cross-thread coordination is needed.

Closes #12839

@TarantoolBot document
Title: New `session.users.<name>.idle_timeout` option
Since: Tarantool 3.8

A new declarative configuration option allows to close idle binary
sessions of a user automatically (by default, the feature is disabled).
`session.users.<name>.idle_timeout` is the idle timeout, in seconds, for
connections authenticated as the given user:

    session:
      users:
        alice:
          idle_timeout: 60
        bob:
          idle_timeout: 300

Behavior:

* A connection authenticated as the given user is closed automatically
  if it receives no data from the client for longer than the timeout.
  The client must reconnect or re-authenticate to resume.
* A timeout of zero disables the mechanism for that user.
* Connections with in-flight requests are not closed by this mechanism.
* The option is dynamically changeable at runtime, though active
  connections are not affected.

Root document: https://www.tarantool.io/en/doc/latest/reference/configuration/

71088 of 119406 branches covered (59.53%)

89 of 94 new or added lines in 3 files covered. (94.68%)

53 existing lines in 17 files now uncovered.

106674 of 121584 relevant lines covered (87.74%)

1373217.86 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
96.6
-0.68% src/box/session.c
2
89.71
0.02% src/box/lua/session.c

Coverage Regressions

Lines Coverage ∆ File
8
93.01
-1.75% src/box/txn_limbo_queue.c
8
60.42
-3.55% src/lib/core/fio.c
6
95.22
-1.25% src/box/vy_read_iterator.c
6
93.0
-1.2% src/box/xrow_update_field.c
4
93.31
-1.27% src/lib/swim/swim_io.c
3
92.1
-0.2% src/box/vy_scheduler.c
2
91.26
0.0% src/box/box.cc
2
96.35
-0.35% src/box/relay.cc
2
88.13
-0.07% src/box/vy_run.c
2
85.87
-0.11% src/box/xlog.c
2
93.97
-0.1% src/lib/core/fiber.c
2
80.95
-9.52% src/lib/core/tt_sigaction.c
2
97.36
0.3% src/lib/msgpuck/msgpuck.h
1
96.5
-0.28% src/box/lua/init.c
1
96.43
-0.71% src/box/vy_point_lookup.c
1
89.47
-0.18% src/box/xlog.h
1
96.1
-0.05% src/lib/salad/bps_tree.h
Jobs
ID Job ID Ran Files Coverage
1 28852866344.1 07 Jul 2026 08:50AM UTC 525
87.74
GitHub Action Run
Source Files on build 28852866344
  • Tree
  • List 525
  • Changed 35
  • Source Changed 0
  • Coverage Changed 35
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • f85582d2 on github
  • Prev Build on master (#28806648384)
  • Next Build on master (#28864950481)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc