René's URL Explorer Experiment


Title: sample for custom worker tuner by deepika-awasthi · Pull Request #314 · temporalio/samples-python · GitHub

Open Graph Title: sample for custom worker tuner by deepika-awasthi · Pull Request #314 · temporalio/samples-python

X Title: sample for custom worker tuner by deepika-awasthi · Pull Request #314 · temporalio/samples-python

Description: Samples for working with the Temporal Python SDK. Contribute to temporalio/samples-python development by creating an account on GitHub.

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/temporalio/samples-python/pull/314

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:bb6b697d-d5dc-3073-cd0a-dd2d04b15f33
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB152:18C74D:328E84:45118A:6A4D36D0
html-safe-nonce2929a916a413d1783844755c310cab1187be5ee3e15f42ea4db4a25b6b73f90c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTUyOjE4Qzc0RDozMjhFODQ6NDUxMThBOjZBNEQzNkQwIiwidmlzaXRvcl9pZCI6IjI2NjAzNTM2MDIxMDEwMTI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac97e25c4691770c0a98c003f543f599ee48db2f13baa2069aeb3533a513c03672
hovercard-subject-tagpull_request:3763963295
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/temporalio/samples-python/314/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9e4ac8f32ccbe3e279a48d4bc8c3e71d937307a40ba971101c78790c3cbc8527/temporalio/samples-python/pull/314
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9e4ac8f32ccbe3e279a48d4bc8c3e71d937307a40ba971101c78790c3cbc8527/temporalio/samples-python/pull/314
og:image:altCustom 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedeepika-awasthi
hostnamegithub.com
expected-hostnamegithub.com
None92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6
turbo-cache-controlno-cache
go-importgithub.com/temporalio/samples-python git https://github.com/temporalio/samples-python.git
octolytics-dimension-user_id56493103
octolytics-dimension-user_logintemporalio
octolytics-dimension-repository_id454557884
octolytics-dimension-repository_nwotemporalio/samples-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id454557884
octolytics-dimension-repository_network_root_nwotemporalio/samples-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release56fc8347865a14e2ec811533d68f929cf4e0ec19
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://github.com/temporalio/samples-python/pull/314
Reloadhttps://github.com/temporalio/samples-python/pull/314
Reloadhttps://github.com/temporalio/samples-python/pull/314
Please reload this pagehttps://github.com/temporalio/samples-python/pull/314
temporalio https://github.com/temporalio
samples-pythonhttps://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-awasthihttps://github.com/deepika-awasthi
mainhttps://github.com/temporalio/samples-python/tree/main
deepika/custom-worker-tunerhttps://github.com/temporalio/samples-python/tree/deepika/custom-worker-tuner
Conversationhttps://github.com/temporalio/samples-python/pull/314
Commits4 (4)https://github.com/temporalio/samples-python/pull/314/commits
Checkshttps://github.com/temporalio/samples-python/pull/314/checks
Files changedhttps://github.com/temporalio/samples-python/pull/314/files
sample for custom worker tunerhttps://github.com/temporalio/samples-python/pull/314#top
deepika-awasthihttps://github.com/deepika-awasthi
mainhttps://github.com/temporalio/samples-python/tree/main
deepika/custom-worker-tunerhttps://github.com/temporalio/samples-python/tree/deepika/custom-worker-tuner
https://github.com/deepika-awasthi
deepika-awasthihttps://github.com/deepika-awasthi
May 28, 2026https://github.com/temporalio/samples-python/pull/314#issue-4542717738
Please reload this pagehttps://github.com/temporalio/samples-python/pull/314
Please reload this pagehttps://github.com/temporalio/samples-python/pull/314
https://github.com/deepika-awasthi
deepika-awasthihttps://github.com/deepika-awasthi
code ownerhttps://github.com/temporalio/samples-python/blob/4d453de6adce21be822a02e2dc553138b684945d/.github/CODEOWNERS#L1
May 28, 2026 18:15https://github.com/temporalio/samples-python/pull/314#event-26076243557
https://github.com/deepika-awasthi
deepika-awasthihttps://github.com/deepika-awasthi
force-pushedhttps://github.com/temporalio/samples-python/compare/c3f6d55e54af989a7cb156f05c81fb1106b457fc..33cec4d3b589b1d9ab137926f816b3140e120ff0
c3f6d55https://github.com/temporalio/samples-python/commit/c3f6d55e54af989a7cb156f05c81fb1106b457fc
33cec4dhttps://github.com/temporalio/samples-python/commit/33cec4d3b589b1d9ab137926f816b3140e120ff0
Compare https://github.com/temporalio/samples-python/compare/c3f6d55e54af989a7cb156f05c81fb1106b457fc..33cec4d3b589b1d9ab137926f816b3140e120ff0
May 28, 2026 18:31https://github.com/temporalio/samples-python/pull/314#event-26076867374
https://github.com/deepika-awasthi
Add custom_worker_tuner samplehttps://github.com/temporalio/samples-python/pull/314/commits/2c05e403f0cc78755648c3b92b757aad97cc5c3a
2c05e40https://github.com/temporalio/samples-python/pull/314/commits/2c05e403f0cc78755648c3b92b757aad97cc5c3a
https://github.com/deepika-awasthi
deepika-awasthihttps://github.com/deepika-awasthi
force-pushedhttps://github.com/temporalio/samples-python/compare/33cec4d3b589b1d9ab137926f816b3140e120ff0..2c05e403f0cc78755648c3b92b757aad97cc5c3a
33cec4dhttps://github.com/temporalio/samples-python/commit/33cec4d3b589b1d9ab137926f816b3140e120ff0
2c05e40https://github.com/temporalio/samples-python/commit/2c05e403f0cc78755648c3b92b757aad97cc5c3a
Compare https://github.com/temporalio/samples-python/compare/33cec4d3b589b1d9ab137926f816b3140e120ff0..2c05e403f0cc78755648c3b92b757aad97cc5c3a
May 28, 2026 18:42https://github.com/temporalio/samples-python/pull/314#event-26077282263
https://github.com/Sushisource
Sushisourcehttps://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.pyhttps://github.com/temporalio/samples-python/pull/314/files/2c05e403f0cc78755648c3b92b757aad97cc5c3a#diff-0733cc0355785ec3bf825e138a3c6bf8b2b4a1314589cdb1edd9eaab7f8ddef7
Sushisourcehttps://github.com/Sushisource
May 28, 2026https://github.com/temporalio/samples-python/pull/314#discussion_r3320348775
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/temporalio/samples-python/pull/314
deepika-awasthihttps://github.com/deepika-awasthi
May 29, 2026https://github.com/temporalio/samples-python/pull/314#discussion_r3326751750
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/temporalio/samples-python/pull/314
custom_worker_tuner/downstream.pyhttps://github.com/temporalio/samples-python/pull/314/files/2c05e403f0cc78755648c3b92b757aad97cc5c3a#diff-0733cc0355785ec3bf825e138a3c6bf8b2b4a1314589cdb1edd9eaab7f8ddef7
Sushisourcehttps://github.com/Sushisource
May 28, 2026https://github.com/temporalio/samples-python/pull/314#discussion_r3320353391
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://docs.python.org/3/library/threading.html#threading.Semaphorehttps://docs.python.org/3/library/threading.html#threading.Semaphore
Please reload this pagehttps://github.com/temporalio/samples-python/pull/314
deepika-awasthihttps://github.com/deepika-awasthi
May 29, 2026https://github.com/temporalio/samples-python/pull/314#discussion_r3326754073
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/temporalio/samples-python/pull/314
custom_worker_tuner/supplier.pyhttps://github.com/temporalio/samples-python/pull/314/files/2c05e403f0cc78755648c3b92b757aad97cc5c3a#diff-04c1b2558c5a406fc0059557c40cab7ef0c7e89a913074e3fc5241a39830742c
Sushisourcehttps://github.com/Sushisource
May 28, 2026https://github.com/temporalio/samples-python/pull/314#discussion_r3320472002
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/temporalio/samples-python/pull/314
deepika-awasthihttps://github.com/deepika-awasthi
May 29, 2026https://github.com/temporalio/samples-python/pull/314#discussion_r3326757655
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/temporalio/samples-python/pull/314
https://github.com/deepika-awasthi
Address review feedbackhttps://github.com/temporalio/samples-python/pull/314/commits/1ce12944e8a913b8b2fb0e07f2bed14bfc9856ff
1ce1294https://github.com/temporalio/samples-python/pull/314/commits/1ce12944e8a913b8b2fb0e07f2bed14bfc9856ff
https://github.com/deepika-awasthi
deepika-awasthihttps://github.com/deepika-awasthi
Sushisourcehttps://github.com/Sushisource
May 29, 2026 20:42https://github.com/temporalio/samples-python/pull/314#event-26127364230
https://github.com/deepika-awasthi
Address review feedbackhttps://github.com/temporalio/samples-python/pull/314/commits/cc615bf004016373dff91de1845bef4aba0cd9bb
cc615bfhttps://github.com/temporalio/samples-python/pull/314/commits/cc615bf004016373dff91de1845bef4aba0cd9bb
https://github.com/deepika-awasthi
deepika-awasthihttps://github.com/deepika-awasthi
force-pushedhttps://github.com/temporalio/samples-python/compare/3569839e4e53387fad92a266bb1373b95718bda7..cc615bf004016373dff91de1845bef4aba0cd9bb
3569839https://github.com/temporalio/samples-python/commit/3569839e4e53387fad92a266bb1373b95718bda7
cc615bfhttps://github.com/temporalio/samples-python/commit/cc615bf004016373dff91de1845bef4aba0cd9bb
Compare https://github.com/temporalio/samples-python/compare/3569839e4e53387fad92a266bb1373b95718bda7..cc615bf004016373dff91de1845bef4aba0cd9bb
May 29, 2026 21:57https://github.com/temporalio/samples-python/pull/314#event-26129424848
https://github.com/Sushisource
Sushisourcehttps://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.pyhttps://github.com/temporalio/samples-python/pull/314/files/cc615bf004016373dff91de1845bef4aba0cd9bb#diff-5ce36a704eae8c97b5e0c06e897a973a4c41a7389fe6cff42953a54c93e7e6e5
Sushisourcehttps://github.com/Sushisource
May 29, 2026https://github.com/temporalio/samples-python/pull/314#discussion_r3327220236
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/temporalio/samples-python/pull/314
deepika-awasthihttps://github.com/deepika-awasthi
Jun 1, 2026https://github.com/temporalio/samples-python/pull/314#discussion_r3336694506
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/temporalio/samples-python/pull/314
https://github.com/deepika-awasthi
Address review feedbackhttps://github.com/temporalio/samples-python/pull/314/commits/2a9505ab49e15f67b2ae6b6d97205dc95463e551
2a9505ahttps://github.com/temporalio/samples-python/pull/314/commits/2a9505ab49e15f67b2ae6b6d97205dc95463e551
https://github.com/deepika-awasthi
deepika-awasthihttps://github.com/deepika-awasthi
Sushisourcehttps://github.com/Sushisource
June 1, 2026 19:39https://github.com/temporalio/samples-python/pull/314#event-26204090132
https://github.com/Sushisource
Sushisourcehttps://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
Sushisourcehttps://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.pyhttps://github.com/temporalio/samples-python/pull/314/files/2a9505ab49e15f67b2ae6b6d97205dc95463e551#diff-5ce36a704eae8c97b5e0c06e897a973a4c41a7389fe6cff42953a54c93e7e6e5
Sushisourcehttps://github.com/Sushisource
Jun 1, 2026https://github.com/temporalio/samples-python/pull/314#discussion_r3337621272
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/temporalio/samples-python/pull/314
https://github.co/hiddenchars
https://github.com/temporalio/samples-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://github.com/temporalio/samples-python/pull/314
https://github.com/deepika-awasthi
https://github.com/Sushisource
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.