Skip to content

Commit

Permalink
Increase uniconfig transaction age and timeout
Browse files Browse the repository at this point in the history
- minimize problem with expired transaction id in device inventory UI
  • Loading branch information
Jozef Volak authored and marosmars committed Feb 17, 2022
1 parent 1ceade0 commit c2f9a23
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,18 @@ https://github.com/FRINXio/FRINX-machine/releases
</br>

`For migration of Frinx-Machine 1.6 to higher version see ` [ Migration from Frinx Machine 1.6](#maintaining) </br>

## Known Issues
### Problem with loading device configuration via device inventory UI
- White screen on page `/frinxui/inventory/config/<id>`

- Reason
<t> - Expired uniconfig transaction for dedicated configuration <br>

- How to fix it (workarounds) <br>
<t> - clean `TX_ID_INVENTORY` from browser local storage <br>
<t> - or use incognito mode <br>
<t> - or load different device config (will replace expired TX_ID_INVENTORY in local storage) <br>

## Requirements
Minimal hardware requirements (See [resource limitation](#resource-limitation))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,12 @@
/*
Time after transaction can be closed [seconds] by transaction cleaner.
*/
"transactionIdleTimeOut": 300,
"transactionIdleTimeOut": 3600,
/*
Maximum transaction age before it can be evicted from transaction registry [seconds].
Configuring '0' disables cleaning of Uniconfig transactions.
*/
"maxTransactionAge": 1800,
"maxTransactionAge": 7200,
/*
Interval at which expired transactions are closed and cleaned [seconds].
Expired transaction: transaction which age exceeds 'maxTransactionAge' setting.
Expand Down
4 changes: 2 additions & 2 deletions docs/azure_ad.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ Example of encoded JWT token with claims. These claims are transferred to the re
{
......
"tid": "aaaaaaaa-1234-5678-abcd-abcd12345678",
"name": "FRINX Super Administrator (Test)",
"name": "Test User",
"oid": "d040c2a8-aaaa-bbbb-cccc-f2900fea4f51",
"preferred_username": "frinx-super-admin@gammaworkshop.co.uk",
"preferred_username": "user@test.onmicrosoft.com",
"roles": [
"User.ReadWrite"
],
Expand Down

0 comments on commit c2f9a23

Please sign in to comment.