@starrailleaks · Post #12544 · 05.05.2026 г., 17:37
[Questionable] Gilgamesh is Destruction Lingsha novaflare One NPC will become playable #anonymous
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #425 · 20 апр.
Недавно делал быстрый прототип асинхронного приложения в котором требовалось вызывать много синхронного кода. Да, я знаю, что это не лучший дизайн, но нужно было быстрое решение на один процесс и без очередей. Поэтому я выполнял код в потоках. Выглядело это примерно так: from fastapi.concurrency import run_in_threadpool async def execute(data: DataRequest) -> DataResponse: try: result = await run_in_threadpool(sync_function, data) return DataResponse(data=result) except Exception as e: return DataResponse( error=str(e), success=False, ) В общем работает нормально. Для всех вызовов под капотом используется общий тредпул, всё работает предсказуемо. Но потребовалось изменить количество запускаемых в пуле потоков (по умолчанию создается 40 воркеров). Так как дело происходит с FastAPI, делается это через lifespan используя настройки anyio: import anyio @asynccontextmanager async def lifespan(app: FastAPI): limiter = anyio.to_thread.current_default_thread_limiter() limiter.total_tokens = 100 yield # если вдруг нужно вернуть обратно limiter.total_tokens = 40 Зачем менять количество воркеров? - уменьшить, если оперативки мало (один тред занимает ~8мб) - увеличить чтобы выдержать нагрузку Если есть предложения получше при тех же вводных - предлагайте😉 #async
Hashtags
Пребарај: #anonymous
@starrailleaks · Post #12544 · 05.05.2026 г., 17:37
[Questionable] Gilgamesh is Destruction Lingsha novaflare One NPC will become playable #anonymous
Hashtags
@starrailleaks · Post #12368 · 20.04.2026 г., 14:57
SP Blade’s main role is as a support, providing team-wide assistance by deploying a Zone that reduces enemy attributes/stats. This allows him to support a wide variety of DPS characters, including Ashveil. Additionally, he can release a AoE FuA that deals damage scaled based on a percentage of his Max HP. #anonymous
Hashtags
@starrailleaks · Post #11962 · 16.03.2026 г., 13:51
Evanescia Skill deals multi-hit damage. On execute (kill) it restores stacks and energy. When teammates trigger Follow-up / Additional / Aha Instant, Evanescia gains stacks. The Ultimate can either consume stacks to deal damage or clear the stacks for damage; executing an enemy gives extra action and energy refund. Her Aha Instant appears in the middle of the action order and can be copied. Sw SP The Ultimate transformation mainly charges through punchlines converted from Aha Instants. For characters on the Elation path, the order of Aha Instants is fixed, and Sw SP’s always goes last. Sw SP’s Aha Instant cannot be copied. In the transformation state, the dragon cannot be controlled. When using single-target attacks, Sw SP attacks first and the dragon follows up. When using AoE gestures/attacks, the dragon also follows up afterward. At the end, snapping fingers triggers one special Aha Instant. In transformation, the punchlines generated by Aha Instants can store energy, but there is a limit. One more thing worth mentioning is that a future character who can copy Ultimates when conditions are met will be a teammate of Sw SP and Evanescia. #anonymous uncle
Hashtags
@starrailleaks · Post #11945 · 16.03.2026 г., 11:53
hint about animations #anonymous uncle
Hashtags
@starrailleaks · Post #11918 · 11.03.2026 г., 14:52
SW SP has a second form The splash art is just hiding a second form, likely to avoid spoilers. You’ll see for yourselves on March 13th. #anonymous uncle
Hashtags
@starrailleaks · Post #11906 · 11.03.2026 г., 07:47
Buffing Firefly, Seele, Huohuo, Sunday. Jiaoqiu is on the way. (buff is coming) Old Evanescia was abandoned. The special effects (VFX) are being reworked. The current power level is on par with Seele. #anonymous uncle
Hashtags
@starrailleaks · Post #11898 · 10.03.2026 г., 15:39
EMC lightning Elation Evanescia has a summon (probably 🦊) #anonymous uncle
Hashtags
@starrailleaks · Post #11895 · 10.03.2026 г., 08:59
EMC’s mechanic roughly copies the previous teammate’s Elation skill and provides a large number of Punchlines “provides a large number of Punchlines” is wrong! Sparxie is a Punchline-generating machine, it’s written in her design document. EMC doesn’t have the ability to provide a large amount of Punchlines. Among the recently released characters, none generate Punchlines more efficiently than Sparxie. #anonymous uncle
Hashtags
@wallpapersarena · Post #6509 · 19.10.2024 г., 06:59
#Anonymous @WallpapersArena
Hashtags
@wallpapersarena · Post #3765 · 23.07.2022 г., 07:23
#Anonymous @WallpapersArena
Hashtags
@wallpapersarena · Post #3651 · 01.06.2022 г., 16:27
#Anonymous🎭 @WallpapersArena
Hashtags
@wallpapersarena · Post #3595 · 11.05.2022 г., 05:41
#Anonymous @WallpapersArena
Hashtags