From 6595587ae732fc151b84969f5293f652dcc6cd8a Mon Sep 17 00:00:00 2001 From: Vishnu Sanal T <50027064+VishnuSanal@users.noreply.github.com> Date: Thu, 24 Oct 2024 00:46:39 +0530 Subject: [PATCH 1/3] chore: update --fast defaults (#989) * chore: update --fast defaults * Update robyn/argument_parser.py Co-authored-by: Sanskar Jethi <29942790+sansyrox@users.noreply.github.com> --------- Co-authored-by: Sanskar Jethi <29942790+sansyrox@users.noreply.github.com> --- robyn/argument_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/robyn/argument_parser.py b/robyn/argument_parser.py index 4112f36bc..88c93ae7e 100644 --- a/robyn/argument_parser.py +++ b/robyn/argument_parser.py @@ -103,8 +103,8 @@ def __init__(self) -> None: if self.fast: # doing this here before every other check # so that processes, workers and log_level can be overridden - self.processes = self.processes or os.cpu_count() or 1 - self.workers = self.workers or ((os.cpu_count() * 2) + 1) or 1 + self.processes = self.processes or ((os.cpu_count() * 2) + 1) or 1 + self.workers = self.workers or 2 self.log_level = self.log_level or "WARNING" self.processes = self.processes or 1 From 2d79ed280a64c71b551521b28803cb1881dade54 Mon Sep 17 00:00:00 2001 From: Sanskar Jethi Date: Thu, 24 Oct 2024 21:37:37 +0100 Subject: [PATCH 2/3] chore: add funding.json --- funding.json | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 funding.json diff --git a/funding.json b/funding.json new file mode 100644 index 000000000..0570cec97 --- /dev/null +++ b/funding.json @@ -0,0 +1,69 @@ +{ + "version": "v1.0.0", + "entity": { + "type": "individual", + "role": "owner", + "name": "Sanskar Jethi", + "email": "sansyrox@gmail.com", + "description": "Sanskar is a FOSS engineer who created Robyn and Starfyre. Sanskar has created software for over half his life and used it for almost all of his.", + "webpageUrl": { + "url": "https://www.sanskar.me/" + } + }, + "projects": [ + { + "guid": "robyn", + "name": "robyn", + "description": "Robyn is one of the fastest Python web frameworks, which comes with a built in web server and a Rust runtime.", + "webpageUrl": { + "url": "https://robyn.tech/" + }, + "repositoryUrl": { + "url": "https://github.com/sparckles/Robyn" + }, + "licenses": ["BSD 2-Clause \"Simplified\" License"], + "tags": [ + "programming", + "python", + "rust", + "web", + "backend", + "async", + "python3", + "http-server" + ] + } + ], + "funding": { + "channels": [ + { + "guid": "mybank", + "type": "bank", + "description": "Send me an email to get my bank details" + } + ], + "plans": [ + { + "guid": "mybank", + "status": "active", + "name": "Support Maintainer", + "description": "Support the maintainer for his work.", + "amount": 500, + "currency": "GBP", + "frequency": "monthly", + "channels": ["mybank"] + }, + { + "guid": "150", + "status": "active", + "name": " Support Contributor", + "description": "Support for one contributor per month", + "amount": 150, + "currency": "GBP", + "frequency": "monthly", + "channels": ["mybank"] + } + ], + "history": [] + } +} From 40f7f0a6d5a6a9a111e5bc60bcb01bc872a7bd17 Mon Sep 17 00:00:00 2001 From: Vishnu Sanal T <50027064+VishnuSanal@users.noreply.github.com> Date: Sun, 27 Oct 2024 18:51:59 +0530 Subject: [PATCH 3/3] ci: Fix preview Release CI fails on linux-cross --- .github/workflows/preview-deployments.yml | 2 +- .github/workflows/release-CI.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/preview-deployments.yml b/.github/workflows/preview-deployments.yml index b38d2fc5c..1445035b8 100644 --- a/.github/workflows/preview-deployments.yml +++ b/.github/workflows/preview-deployments.yml @@ -115,7 +115,7 @@ jobs: target: ${{ matrix.target }} manylinux: auto args: -i python${{matrix.python.version}} --release --out dist --no-sdist - - uses: uraimo/run-on-arch-action@v2.7.1 + - uses: uraimo/run-on-arch-action@v2 name: Install build wheel with: arch: ${{ matrix.target }} diff --git a/.github/workflows/release-CI.yml b/.github/workflows/release-CI.yml index c1a93718d..14aabbcab 100644 --- a/.github/workflows/release-CI.yml +++ b/.github/workflows/release-CI.yml @@ -119,7 +119,7 @@ jobs: target: ${{ matrix.target }} manylinux: auto args: -i python${{matrix.python.version}} --release --out dist - - uses: uraimo/run-on-arch-action@v2.2.0 + - uses: uraimo/run-on-arch-action@v2 name: Install build wheel with: arch: ${{ matrix.target }}