You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Adds retry mechanism on failure and debugging support
- Added max_attempts and failed_attempts_backoff_timeout fields to schema
- Updated plugin.properties to include EmmyLua Debugger version
- Introduced launch configuration for EmmyLua Debugger in VSCode
- Enhanced changelog with new features and improvements
- Modified Dockerfile to install EmmyLua Debugger
- Added custom Busted script for improved testing with EmmyLua Debugger
| `timeout`<br/>_optional_<br/><br/>**Type:** number | 10000 | The total timeout time in milliseconds for a request and response cycle. |
82
-
| `keepalive`<br/>_optional_<br/><br/>**Type:** number | 60000 | The maximal idle timeout in milliseconds for the current connection. See [tcpsock:setkeepalive](https://github.com/openresty/lua-nginx-module#tcpsocksetkeepalive) for more details. |
83
-
| `store_id`<br/>_required_<br/><br/>**Type:** string | - | The store ID in OpenFGA |
84
-
| `model_id`<br/>_optional_<br/><br/>**Type:** string | - | Optional model ID (version). Latest is used if this is empty |
85
-
| `api_token`<br/>_optional_<br/><br/>**Type:** string | - | Optional API token |
86
-
| `api_token_issuer`<br/>_optional_<br/><br/>**Type:** string | - | API token issuer |
87
-
| `api_audience`<br/>_optional_<br/><br/>**Type:** string | - | API audience |
88
-
| `api_client_id`<br/>_optional_<br/><br/>**Type:** string | - | API client ID |
89
-
| `api_client_secret`<br/>_optional_<br/><br/>**Type:** string | - | API client secret |
90
-
| `api_token_cache`<br/>_optional_<br/><br/>**Type:** number | 600 | API token cache duration in seconds |
91
-
| `tuple`<br/>_required_<br/><br/>**Type:** record | - | Tuple key for authorization |
92
-
| `contextual_tuples`<br/>_optional_<br/><br/>**Type:** set | {} | Set of contextual tuples for authorization |
| `max_attempts`<br/>_optional_<br/><br/>**Type:** integer | 3 | The maximum number of attempts to make when querying OpenFGA. This is useful for handling transient errors and retries. |
84
+
| `failed_attempts_backoff_timeout`<br/>_optional_<br/><br/>**Type:** integer | 1000 | The backoff timeout in milliseconds between retry attempts when querying OpenFGA. This helps to avoid overwhelming the server with rapid retries. Formula: `failed_attempts_backoff_timeout * 2 ^ (attempts - 1) / 1000`|
85
+
| `timeout`<br/>_optional_<br/><br/>**Type:** number | 10000 | The total timeout time in milliseconds for a request and response cycle. |
86
+
| `keepalive`<br/>_optional_<br/><br/>**Type:** number | 60000 | The maximal idle timeout in milliseconds for the current connection. See [tcpsock:setkeepalive](https://github.com/openresty/lua-nginx-module#tcpsocksetkeepalive) for more details. |
87
+
| `store_id`<br/>_required_<br/><br/>**Type:** string | - | The store ID in OpenFGA |
88
+
| `model_id`<br/>_optional_<br/><br/>**Type:** string | - | Optional model ID (version). Latest is used if this is empty |
89
+
| `api_token`<br/>_optional_<br/><br/>**Type:** string | - | Optional API token |
90
+
| `api_token_issuer`<br/>_optional_<br/><br/>**Type:** string | - | API token issuer |
91
+
| `api_audience`<br/>_optional_<br/><br/>**Type:** string | - | API audience |
92
+
| `api_client_id`<br/>_optional_<br/><br/>**Type:** string | - | API client ID |
93
+
| `api_client_secret`<br/>_optional_<br/><br/>**Type:** string | - | API client secret |
94
+
| `api_token_cache`<br/>_optional_<br/><br/>**Type:** number | 600 | API token cache duration in seconds |
95
+
| `tuple`<br/>_required_<br/><br/>**Type:** record | - | Tuple key for authorization |
96
+
| `contextual_tuples`<br/>_optional_<br/><br/>**Type:** set | {} | Set of contextual tuples for authorization |
0 commit comments