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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user