Skip to content

Commit

Permalink
Add github token to LLVM install step
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphiiko committed Jun 23, 2024
1 parent c1c9cdd commit 2f0126b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
- name: Setup LLVM
uses: ZhongRuoyu/setup-llvm@v0
with:
github-token: ${{ github.token }}
llvm-version: 17
- name: Install Rust stable toolchain
uses: actions-rs/toolchain@v1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
uses: ZhongRuoyu/setup-llvm@v0
with:
llvm-version: 17
github-token: ${{ github.token }}
- name: Install Rust stable toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-steam-beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
uses: ZhongRuoyu/setup-llvm@v0
with:
llvm-version: 17
github-token: ${{ github.token }}
- name: Install Rust stable toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-steam-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
uses: ZhongRuoyu/setup-llvm@v0
with:
llvm-version: 17
github-token: ${{ github.token }}
- name: Install Rust stable toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Injectable } from '@angular/core';
import { VRChatService } from '../vrchat.service';
import {
async,
asyncScheduler,
combineLatest,
debounceTime,
delay,
Expand Down Expand Up @@ -77,11 +77,11 @@ export class StatusChangeForPlayerCountAutomationService {
// Stop if we don't need to make any changes
filter((newStatus) => Boolean(newStatus.status || newStatus.statusMessage)),
// Throttle to prevent spamming, just in case. (This should already be handled at the service level).
throttleTime(500, async, { leading: true, trailing: true })
throttleTime(500, asyncScheduler, { leading: true, trailing: true })
)
.subscribe(async (newStatus) => {
// Set new status
let success = await this.vrchat
const success = await this.vrchat
.setStatus(newStatus.status, newStatus.statusMessage)
.catch(() => false);
if (success) {
Expand Down

0 comments on commit 2f0126b

Please sign in to comment.