Skip to content

Commit 46dec71

Browse files
committed
Merge branch 'master' into 'changelog'
# Conflicts: # docs/changelog/on-premise-changelog.en.md # docs/changelog/on-premise-changelog.md
2 parents 1336b4b + a800774 commit 46dec71

6 files changed

Lines changed: 64 additions & 5 deletions

File tree

docs/changelog/on-premise-changelog.en.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,20 @@ hide:
9292

9393
- <span class="module-tag secrets">Secrets</span> Deleting a project now removes the secrets found in it
9494

95+
### [2026.3.3] - 2026-03-12
96+
97+
#### Added
98+
99+
- Added separate environment variables for Index API timeouts: `INDEX_API_POOL_TIMEOUT`, `INDEX_API_CONNECT_TIMEOUT`, `INDEX_API_WRITE_TIMEOUT`, `INDEX_API_READ_TIMEOUT`
100+
101+
#### Changed
102+
103+
- Split the single Index API request timeout into pool, connect, write, and read
104+
105+
#### Deprecated
106+
107+
- Deprecated the `INDEX_API_TIMEOUT` environment variable
108+
95109
### [2026.3.2] - 2026-02-20
96110

97111
#### Fixed
@@ -117,7 +131,7 @@ hide:
117131
- <span class="module-tag osa">OSA</span> Fixed an error scanning some Maven packages
118132
- Fixed a behavior where the unique author count would fail after 60 seconds
119133

120-
### 2026.3.0 2026-01-16
134+
### [2026.3.0] - 2026-01-16
121135

122136
#### Added
123137

docs/changelog/on-premise-changelog.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,20 @@ hide:
9292

9393
- <span class="module-tag secrets">Secrets</span> При удалении проекта теперь удаляются найденные в нём секреты
9494

95+
### [2026.3.3] - 2026-03-12
96+
97+
#### Добавлено
98+
99+
- Добавлены отдельные переменные окружения для таймаутов Index API: `INDEX_API_POOL_TIMEOUT`, `INDEX_API_CONNECT_TIMEOUT`, `INDEX_API_WRITE_TIMEOUT`, `INDEX_API_READ_TIMEOUT`
100+
101+
#### Изменено
102+
103+
- Разделён единый таймаут запросов к Index API на pool, connect, write и read
104+
105+
#### Устарело
106+
107+
- Устарела переменная окружения `INDEX_API_TIMEOUT`
108+
95109
### [2026.3.2] - 2026-02-20
96110

97111
#### Исправлено
@@ -117,7 +131,7 @@ hide:
117131
- <span class="module-tag osa">OSA</span> Исправлена ошибка сканирования некоторых пакетов Maven
118132
- Исправлено поведение, при котором подсчет уникальных авторов заканчивался с ошибкой через 60 секунд
119133

120-
### 2026.3.0 2026-01-16
134+
### [2026.3.0] - 2026-01-16
121135

122136
#### Добавлено
123137

docs/on-premise/server-requirements.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ hide:
7070
2. хэши файлов исходного кода для поиска прямых включений Open Source библиотек в код проектов;
7171
3. количество активных авторов за последний год;
7272
4. количество проектов в системе;
73-
5. версия платформе.
73+
5. версия платформы.
7474

7575
Пути манифестов и названия хэшируемых файлов специально анонимизируются. От платформы в облако **не уходят** хэши файлов, размер которых не превышает 512 байт.
7676

77-
Пример содержимого запроса от платформе к Index API с данными по манифестам пакетных менеджеров:
77+
Пример содержимого запроса от платформы к Index API с данными по манифестам пакетных менеджеров:
7878

7979

8080
```json

docs/on-premise/variables-extended.en.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ The `app.env.template` file contains environment variables required to configure
7373

7474
- **INDEX_API_URL** - the URL for the index API, used for knowledge base updates, is `https://index.codescoring.ru`. This parameter should not be modified;
7575

76+
- <span class="deprecated-tag">Deprecated</span> **INDEX_API_TIMEOUT** - deprecated environment variable for a single Index API request timeout. Use the separate timeouts below;
77+
78+
- **INDEX_API_POOL_TIMEOUT** - time to obtain a connection from the pool (seconds). Default: `60`;
79+
- **INDEX_API_CONNECT_TIMEOUT** - time to establish a connection (seconds). Default: `60`;
80+
- **INDEX_API_WRITE_TIMEOUT** - time to write the request body (seconds). Default: `60`;
81+
- **INDEX_API_READ_TIMEOUT** - time to read the response body (seconds). Default: `60`;
82+
7683
- **INDEX_PROXY_URL** - specifies the URL address of the Index Proxy container within the Docker network. No modification required. Default value: `http://index-proxy:8000`;
7784

7885
- **ALLOWED_HOSTS** - specifies the allowed hosts for Django. Defines the permissible addresses from which Django can accept requests. If a host is not included in the list, Django rejects incoming requests. By default, all hosts are permitted `*`;
@@ -166,4 +173,4 @@ The following variables are used to configure the [Judge](/on-premise/containers
166173

167174
- **WEB_CONCURRENCY** - defines the number of workers for parallel validation of components or containers against security policies. Default value: `5`;
168175
- **MIN_DATABASE_CONNECTION_POOL_SIZE** - defines the minimum pool of active database connections. The variable is commented out by default and has a value of `0`;
169-
- **MAX_DATABASE_CONNECTION_POOL_SIZE** - defines the maximum pool of active database connections. The variable is commented out by default and has a value of `10`.
176+
- **MAX_DATABASE_CONNECTION_POOL_SIZE** - defines the maximum pool of active database connections. The variable is commented out by default and has a value of `10`.

docs/on-premise/variables-extended.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ hide:
7373

7474
- **INDEX_API_URL** - URL-адрес API для индекса, необходимого для обновления базы знаний, значение по умолчанию: `https://index.codescoring.ru`. Данный параметр не требует изменений;
7575

76+
- <span class="deprecated-tag">Устарело</span> **INDEX_API_TIMEOUT** - устаревшая переменная для единого таймаута запросов к Index API. Используйте отдельные таймауты ниже;
77+
78+
- **INDEX_API_POOL_TIMEOUT** - время ожидания получения соединения из пула (секунды). Значение по умолчанию: `60`;
79+
- **INDEX_API_CONNECT_TIMEOUT** - время установки соединения (секунды). Значение по умолчанию: `60`;
80+
- **INDEX_API_WRITE_TIMEOUT** - время записи тела запроса (секунды). Значение по умолчанию: `60`;
81+
- **INDEX_API_READ_TIMEOUT** - время чтения тела ответа (секунды). Значение по умолчанию: `60`;
82+
7683
- **INDEX_PROXY_URL** - указывает внутри сети докер на URL-адрес контейнера Index Proxy. Не нуждается в изменении. Значение по умолчанию: `http://index-proxy:8000`;
7784

7885
- **ALLOWED_HOSTS** - разрешенные хосты для Django. Определяет допустимые адреса, с которых Django может принимать запросы. При отсутствии хоста в списке, Django отклоняет входящие запросы. По умолчанию разрешены все хосты `*`;

docs/stylesheets/extra.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,23 @@
448448
--tag-color: #8b5cf6;
449449
}
450450

451+
.deprecated-tag {
452+
display: inline-flex;
453+
align-items: center;
454+
padding: 2px 6px;
455+
border-radius: 4px;
456+
font-size: 12px;
457+
font-weight: 500;
458+
line-height: 1;
459+
color: var(--tag-color);
460+
border: 1px solid currentColor;
461+
background: color-mix(in srgb, currentColor 10%, transparent);
462+
}
463+
464+
.deprecated-tag {
465+
--tag-color: #f59e0b;
466+
}
467+
451468
@media (max-width: 900px) {
452469
.guide-hub {
453470
grid-template-columns: repeat(2, minmax(0, 1fr));

0 commit comments

Comments
 (0)