mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Support thread pool and update ossrs.net. v5.0.33
This commit is contained in:
parent
57be5188c3
commit
0badae4797
3 changed files with 9 additions and 9 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -348,9 +348,9 @@ jobs:
|
|||
- name: Build variables for lh.ossrs.net
|
||||
run: |
|
||||
SRS_LH_OSSRS_NET=$(dig +short lh.ossrs.net)
|
||||
SRS_R_OSSRS_NET=$(dig +short r.ossrs.net)
|
||||
SRS_D_OSSRS_NET=$(dig +short d.ossrs.net)
|
||||
echo "SRS_LH_OSSRS_NET=$SRS_LH_OSSRS_NET" >> $GITHUB_ENV
|
||||
echo "SRS_R_OSSRS_NET=$SRS_R_OSSRS_NET" >> $GITHUB_ENV
|
||||
echo "SRS_D_OSSRS_NET=$SRS_D_OSSRS_NET" >> $GITHUB_ENV
|
||||
|
||||
- name: Release to lh.ossrs.net
|
||||
uses: appleboy/ssh-action@master
|
||||
|
@ -372,10 +372,10 @@ jobs:
|
|||
echo "Remove image $image, r0=$?"
|
||||
done
|
||||
|
||||
- name: Release to r.ossrs.net
|
||||
- name: Release to d.ossrs.net
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ env.SRS_R_OSSRS_NET }}
|
||||
host: ${{ env.SRS_D_OSSRS_NET }}
|
||||
username: root
|
||||
key: ${{ secrets.DIGITALOCEAN_SSHKEY }}
|
||||
port: 22
|
||||
|
|
|
@ -34,11 +34,11 @@ using namespace std;
|
|||
#include <fcntl.h>
|
||||
|
||||
#ifdef SRS_OSX
|
||||
pid_t gettid() {
|
||||
return 0;
|
||||
}
|
||||
pid_t gettid() {
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 30
|
||||
#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 30
|
||||
#include <sys/syscall.h>
|
||||
#define gettid() syscall(SYS_gettid)
|
||||
#endif
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
#define VERSION_MAJOR 5
|
||||
#define VERSION_MINOR 0
|
||||
#define VERSION_REVISION 32
|
||||
#define VERSION_REVISION 33
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue