fix: retry telemetry and renewal (#6175)

* feat: retry telemetry and renewal

* Update ee-repo-ref.txt

---------

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
This commit is contained in:
HugoCasa
2025-07-14 16:29:52 +02:00
committed by GitHub
parent 09afa1930f
commit dc492fefca
2 changed files with 15 additions and 4 deletions
+1 -1
View File
@@ -1 +1 @@
17b17f57e4c777e7e2ffc0e5def317f017a1683d
3d6e1e926a2615d7b46d629c4a02e1047a6f1c41
@@ -227,9 +227,17 @@
oauths['snowflake_oauth'].connect_config = connect_config
}
let sendingStats = $state(false)
async function sendStats() {
await SettingService.sendStats()
sendUserToast('Usage sent')
try {
sendingStats = true
await SettingService.sendStats()
sendUserToast('Usage sent')
} catch (err) {
throw err
} finally {
sendingStats = false
}
}
function isValidTeamsChannel(value: any): value is TeamsChannel {
@@ -332,8 +340,11 @@
color="light"
btnClasses="w-auto"
wrapperClasses="mb-4"
size="xs">Send usage</Button
loading={sendingStats}
size="xs"
>
Send usage
</Button>
{/if}
{:else if category == 'Auth/OAuth/SAML'}
<AuthSettings