| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:bb6b697d-d5dc-3073-cd0a-dd2d04b15f33 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B152:18C74D:328E84:45118A:6A4D36D0 |
| html-safe-nonce | 2929a916a413d1783844755c310cab1187be5ee3e15f42ea4db4a25b6b73f90c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTUyOjE4Qzc0RDozMjhFODQ6NDUxMThBOjZBNEQzNkQwIiwidmlzaXRvcl9pZCI6IjI2NjAzNTM2MDIxMDEwMTI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 97e25c4691770c0a98c003f543f599ee48db2f13baa2069aeb3533a513c03672 |
| hovercard-subject-tag | pull_request:3763963295 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/temporalio/samples-python/314/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/9e4ac8f32ccbe3e279a48d4bc8c3e71d937307a40ba971101c78790c3cbc8527/temporalio/samples-python/pull/314 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9e4ac8f32ccbe3e279a48d4bc8c3e71d937307a40ba971101c78790c3cbc8527/temporalio/samples-python/pull/314 |
| og:image:alt | Custom Worker Tuner
A CustomSlotSupplier is a sample that lets you gate slot grants on whatever you want.
This sample gates on a fake DB pool: the worker only polls for a new
activity when the pool... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | deepika-awasthi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-cache |
| go-import | github.com/temporalio/samples-python git https://github.com/temporalio/samples-python.git |
| octolytics-dimension-user_id | 56493103 |
| octolytics-dimension-user_login | temporalio |
| octolytics-dimension-repository_id | 454557884 |
| octolytics-dimension-repository_nwo | temporalio/samples-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 454557884 |
| octolytics-dimension-repository_network_root_nwo | temporalio/samples-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/temporalio/samples-python/pull/314#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftemporalio%2Fsamples-python%2Fpull%2F314 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftemporalio%2Fsamples-python%2Fpull%2F314 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=temporalio%2Fsamples-python |
| Reload | https://github.com/temporalio/samples-python/pull/314 |
| Reload | https://github.com/temporalio/samples-python/pull/314 |
| Reload | https://github.com/temporalio/samples-python/pull/314 |
| Please reload this page | https://github.com/temporalio/samples-python/pull/314 |
|
temporalio
| https://github.com/temporalio |
| samples-python | https://github.com/temporalio/samples-python |
|
Notifications
| https://github.com/login?return_to=%2Ftemporalio%2Fsamples-python |
|
Fork
112
| https://github.com/login?return_to=%2Ftemporalio%2Fsamples-python |
|
Star
358
| https://github.com/login?return_to=%2Ftemporalio%2Fsamples-python |
|
Code
| https://github.com/temporalio/samples-python |
|
Issues
28
| https://github.com/temporalio/samples-python/issues |
|
Pull requests
54
| https://github.com/temporalio/samples-python/pulls |
|
Actions
| https://github.com/temporalio/samples-python/actions |
|
Security and quality
0
| https://github.com/temporalio/samples-python/security |
|
Insights
| https://github.com/temporalio/samples-python/pulse |
|
Code
| https://github.com/temporalio/samples-python |
|
Issues
| https://github.com/temporalio/samples-python/issues |
|
Pull requests
| https://github.com/temporalio/samples-python/pulls |
|
Actions
| https://github.com/temporalio/samples-python/actions |
|
Security and quality
| https://github.com/temporalio/samples-python/security |
|
Insights
| https://github.com/temporalio/samples-python/pulse |
| deepika-awasthi | https://github.com/deepika-awasthi |
| main | https://github.com/temporalio/samples-python/tree/main |
| deepika/custom-worker-tuner | https://github.com/temporalio/samples-python/tree/deepika/custom-worker-tuner |
| Conversation | https://github.com/temporalio/samples-python/pull/314 |
| Commits4 (4) | https://github.com/temporalio/samples-python/pull/314/commits |
| Checks | https://github.com/temporalio/samples-python/pull/314/checks |
| Files changed | https://github.com/temporalio/samples-python/pull/314/files |
| sample for custom worker tuner | https://github.com/temporalio/samples-python/pull/314#top |
| deepika-awasthi | https://github.com/deepika-awasthi |
| main | https://github.com/temporalio/samples-python/tree/main |
| deepika/custom-worker-tuner | https://github.com/temporalio/samples-python/tree/deepika/custom-worker-tuner |
|
| https://github.com/deepika-awasthi |
| deepika-awasthi | https://github.com/deepika-awasthi |
| May 28, 2026 | https://github.com/temporalio/samples-python/pull/314#issue-4542717738 |
| Please reload this page | https://github.com/temporalio/samples-python/pull/314 |
| Please reload this page | https://github.com/temporalio/samples-python/pull/314 |
| https://github.com/deepika-awasthi |
| deepika-awasthi | https://github.com/deepika-awasthi |
| code owner | https://github.com/temporalio/samples-python/blob/4d453de6adce21be822a02e2dc553138b684945d/.github/CODEOWNERS#L1 |
| May 28, 2026 18:15 | https://github.com/temporalio/samples-python/pull/314#event-26076243557 |
| https://github.com/deepika-awasthi |
| deepika-awasthi | https://github.com/deepika-awasthi |
| force-pushed | https://github.com/temporalio/samples-python/compare/c3f6d55e54af989a7cb156f05c81fb1106b457fc..33cec4d3b589b1d9ab137926f816b3140e120ff0 |
| c3f6d55 | https://github.com/temporalio/samples-python/commit/c3f6d55e54af989a7cb156f05c81fb1106b457fc |
| 33cec4d | https://github.com/temporalio/samples-python/commit/33cec4d3b589b1d9ab137926f816b3140e120ff0 |
|
Compare
| https://github.com/temporalio/samples-python/compare/c3f6d55e54af989a7cb156f05c81fb1106b457fc..33cec4d3b589b1d9ab137926f816b3140e120ff0 |
| May 28, 2026 18:31 | https://github.com/temporalio/samples-python/pull/314#event-26076867374 |
|
| https://github.com/deepika-awasthi |
| Add custom_worker_tuner sample | https://github.com/temporalio/samples-python/pull/314/commits/2c05e403f0cc78755648c3b92b757aad97cc5c3a |
| 2c05e40 | https://github.com/temporalio/samples-python/pull/314/commits/2c05e403f0cc78755648c3b92b757aad97cc5c3a |
| https://github.com/deepika-awasthi |
| deepika-awasthi | https://github.com/deepika-awasthi |
| force-pushed | https://github.com/temporalio/samples-python/compare/33cec4d3b589b1d9ab137926f816b3140e120ff0..2c05e403f0cc78755648c3b92b757aad97cc5c3a |
| 33cec4d | https://github.com/temporalio/samples-python/commit/33cec4d3b589b1d9ab137926f816b3140e120ff0 |
| 2c05e40 | https://github.com/temporalio/samples-python/commit/2c05e403f0cc78755648c3b92b757aad97cc5c3a |
|
Compare
| https://github.com/temporalio/samples-python/compare/33cec4d3b589b1d9ab137926f816b3140e120ff0..2c05e403f0cc78755648c3b92b757aad97cc5c3a |
| May 28, 2026 18:42 | https://github.com/temporalio/samples-python/pull/314#event-26077282263 |
| https://github.com/Sushisource |
| Sushisource | https://github.com/Sushisource |
|
May 28, 2026
| https://github.com/temporalio/samples-python/pull/314#pullrequestreview-4384357354 |
|
View reviewed changes
| https://github.com/temporalio/samples-python/pull/314/files/2c05e403f0cc78755648c3b92b757aad97cc5c3a |
| custom_worker_tuner/downstream.py | https://github.com/temporalio/samples-python/pull/314/files/2c05e403f0cc78755648c3b92b757aad97cc5c3a#diff-0733cc0355785ec3bf825e138a3c6bf8b2b4a1314589cdb1edd9eaab7f8ddef7 |
| Sushisource | https://github.com/Sushisource |
| May 28, 2026 | https://github.com/temporalio/samples-python/pull/314#discussion_r3320348775 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/temporalio/samples-python/pull/314 |
| deepika-awasthi | https://github.com/deepika-awasthi |
| May 29, 2026 | https://github.com/temporalio/samples-python/pull/314#discussion_r3326751750 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/temporalio/samples-python/pull/314 |
| custom_worker_tuner/downstream.py | https://github.com/temporalio/samples-python/pull/314/files/2c05e403f0cc78755648c3b92b757aad97cc5c3a#diff-0733cc0355785ec3bf825e138a3c6bf8b2b4a1314589cdb1edd9eaab7f8ddef7 |
| Sushisource | https://github.com/Sushisource |
| May 28, 2026 | https://github.com/temporalio/samples-python/pull/314#discussion_r3320353391 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://docs.python.org/3/library/threading.html#threading.Semaphore | https://docs.python.org/3/library/threading.html#threading.Semaphore |
| Please reload this page | https://github.com/temporalio/samples-python/pull/314 |
| deepika-awasthi | https://github.com/deepika-awasthi |
| May 29, 2026 | https://github.com/temporalio/samples-python/pull/314#discussion_r3326754073 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/temporalio/samples-python/pull/314 |
| custom_worker_tuner/supplier.py | https://github.com/temporalio/samples-python/pull/314/files/2c05e403f0cc78755648c3b92b757aad97cc5c3a#diff-04c1b2558c5a406fc0059557c40cab7ef0c7e89a913074e3fc5241a39830742c |
| Sushisource | https://github.com/Sushisource |
| May 28, 2026 | https://github.com/temporalio/samples-python/pull/314#discussion_r3320472002 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/temporalio/samples-python/pull/314 |
| deepika-awasthi | https://github.com/deepika-awasthi |
| May 29, 2026 | https://github.com/temporalio/samples-python/pull/314#discussion_r3326757655 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/temporalio/samples-python/pull/314 |
|
| https://github.com/deepika-awasthi |
| Address review feedback | https://github.com/temporalio/samples-python/pull/314/commits/1ce12944e8a913b8b2fb0e07f2bed14bfc9856ff |
| 1ce1294 | https://github.com/temporalio/samples-python/pull/314/commits/1ce12944e8a913b8b2fb0e07f2bed14bfc9856ff |
| https://github.com/deepika-awasthi |
| deepika-awasthi | https://github.com/deepika-awasthi |
| Sushisource | https://github.com/Sushisource |
| May 29, 2026 20:42 | https://github.com/temporalio/samples-python/pull/314#event-26127364230 |
|
| https://github.com/deepika-awasthi |
| Address review feedback | https://github.com/temporalio/samples-python/pull/314/commits/cc615bf004016373dff91de1845bef4aba0cd9bb |
| cc615bf | https://github.com/temporalio/samples-python/pull/314/commits/cc615bf004016373dff91de1845bef4aba0cd9bb |
| https://github.com/deepika-awasthi |
| deepika-awasthi | https://github.com/deepika-awasthi |
| force-pushed | https://github.com/temporalio/samples-python/compare/3569839e4e53387fad92a266bb1373b95718bda7..cc615bf004016373dff91de1845bef4aba0cd9bb |
| 3569839 | https://github.com/temporalio/samples-python/commit/3569839e4e53387fad92a266bb1373b95718bda7 |
| cc615bf | https://github.com/temporalio/samples-python/commit/cc615bf004016373dff91de1845bef4aba0cd9bb |
|
Compare
| https://github.com/temporalio/samples-python/compare/3569839e4e53387fad92a266bb1373b95718bda7..cc615bf004016373dff91de1845bef4aba0cd9bb |
| May 29, 2026 21:57 | https://github.com/temporalio/samples-python/pull/314#event-26129424848 |
| https://github.com/Sushisource |
| Sushisource | https://github.com/Sushisource |
|
May 29, 2026
| https://github.com/temporalio/samples-python/pull/314#pullrequestreview-4393228618 |
|
View reviewed changes
| https://github.com/temporalio/samples-python/pull/314/files/cc615bf004016373dff91de1845bef4aba0cd9bb |
| custom_worker_tuner/db_pool.py | https://github.com/temporalio/samples-python/pull/314/files/cc615bf004016373dff91de1845bef4aba0cd9bb#diff-5ce36a704eae8c97b5e0c06e897a973a4c41a7389fe6cff42953a54c93e7e6e5 |
| Sushisource | https://github.com/Sushisource |
| May 29, 2026 | https://github.com/temporalio/samples-python/pull/314#discussion_r3327220236 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/temporalio/samples-python/pull/314 |
| deepika-awasthi | https://github.com/deepika-awasthi |
| Jun 1, 2026 | https://github.com/temporalio/samples-python/pull/314#discussion_r3336694506 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/temporalio/samples-python/pull/314 |
|
| https://github.com/deepika-awasthi |
| Address review feedback | https://github.com/temporalio/samples-python/pull/314/commits/2a9505ab49e15f67b2ae6b6d97205dc95463e551 |
| 2a9505a | https://github.com/temporalio/samples-python/pull/314/commits/2a9505ab49e15f67b2ae6b6d97205dc95463e551 |
| https://github.com/deepika-awasthi |
| deepika-awasthi | https://github.com/deepika-awasthi |
| Sushisource | https://github.com/Sushisource |
| June 1, 2026 19:39 | https://github.com/temporalio/samples-python/pull/314#event-26204090132 |
| https://github.com/Sushisource |
| Sushisource | https://github.com/Sushisource |
|
Jun 1, 2026
| https://github.com/temporalio/samples-python/pull/314#pullrequestreview-4405209797 |
|
View reviewed changes
| https://github.com/temporalio/samples-python/pull/314/files/2a9505ab49e15f67b2ae6b6d97205dc95463e551 |
| https://github.com/Sushisource |
| Sushisource | https://github.com/Sushisource |
|
Jun 1, 2026
| https://github.com/temporalio/samples-python/pull/314#pullrequestreview-4405212312 |
|
View reviewed changes
| https://github.com/temporalio/samples-python/pull/314/files/2a9505ab49e15f67b2ae6b6d97205dc95463e551 |
| custom_worker_tuner/db_pool.py | https://github.com/temporalio/samples-python/pull/314/files/2a9505ab49e15f67b2ae6b6d97205dc95463e551#diff-5ce36a704eae8c97b5e0c06e897a973a4c41a7389fe6cff42953a54c93e7e6e5 |
| Sushisource | https://github.com/Sushisource |
| Jun 1, 2026 | https://github.com/temporalio/samples-python/pull/314#discussion_r3337621272 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/temporalio/samples-python/pull/314 |
| https://github.co/hiddenchars |
| https://github.com/temporalio/samples-python/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftemporalio%2Fsamples-python%2Fpull%2F314 |
|
| https://github.com/Sushisource |
|
Sushisource
| https://github.com/Sushisource |
|
| https://github.com/temporalio/samples-python/pull/314/files/2a9505ab49e15f67b2ae6b6d97205dc95463e551 |
| Please reload this page | https://github.com/temporalio/samples-python/pull/314 |
|
| https://github.com/deepika-awasthi |
|
| https://github.com/Sushisource |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |