| 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:2f7a3501-8729-22fa-04bd-1151d6561a5c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E094:1B6BE9:CDCBEFE:10AFA78D:6976D3B3 |
| html-safe-nonce | f2b35e1b2faa732c345301e7231ed1ee2c376359ae31fd180a265f115583acd4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDk0OjFCNkJFOTpDRENCRUZFOjEwQUZBNzhEOjY5NzZEM0IzIiwidmlzaXRvcl9pZCI6Ijg3ODIxNzgwOTQ0NDI1MzM4MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 16fcec7d75a490fc028e9e59dc82f2d5af3b825201a905ca01553dbb6f440d30 |
| hovercard-subject-tag | pull_request:346023267 |
| 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/node-cache/node-cache/160/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/ca5cd9faf6082ec3d7b735eb428ae882e977594dc85e5fabf38b48e19c1e0f5e/node-cache/node-cache/pull/160 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ca5cd9faf6082ec3d7b735eb428ae882e977594dc85e5fabf38b48e19c1e0f5e/node-cache/node-cache/pull/160 |
| og:image:alt | Fix for #159
Single-use tokens (such as OTPs) cannot be used under two circumstances:
time expired,
already used
TTL solves the first problem. This take method aims to solve the second problem. T... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | KrishnaPG |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09 |
| turbo-cache-control | no-preview |
| go-import | github.com/node-cache/node-cache git https://github.com/node-cache/node-cache.git |
| octolytics-dimension-user_id | 54621913 |
| octolytics-dimension-user_login | node-cache |
| octolytics-dimension-repository_id | 2599450 |
| octolytics-dimension-repository_nwo | node-cache/node-cache |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2599450 |
| octolytics-dimension-repository_network_root_nwo | node-cache/node-cache |
| 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 | f752335dbbea672610081196a1998e39aec5e14b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/node-cache/node-cache/pull/160#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnode-cache%2Fnode-cache%2Fpull%2F160 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| 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 |
| 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 |
| 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%2Fnode-cache%2Fnode-cache%2Fpull%2F160 |
|
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=node-cache%2Fnode-cache |
| Reload | https://github.com/node-cache/node-cache/pull/160 |
| Reload | https://github.com/node-cache/node-cache/pull/160 |
| Reload | https://github.com/node-cache/node-cache/pull/160 |
|
node-cache
| https://github.com/node-cache |
| node-cache | https://github.com/node-cache/node-cache |
|
Notifications
| https://github.com/login?return_to=%2Fnode-cache%2Fnode-cache |
|
Fork
144
| https://github.com/login?return_to=%2Fnode-cache%2Fnode-cache |
|
Star
2.4k
| https://github.com/login?return_to=%2Fnode-cache%2Fnode-cache |
|
Code
| https://github.com/node-cache/node-cache |
|
Issues
57
| https://github.com/node-cache/node-cache/issues |
|
Pull requests
20
| https://github.com/node-cache/node-cache/pulls |
|
Actions
| https://github.com/node-cache/node-cache/actions |
|
Projects
0
| https://github.com/node-cache/node-cache/projects |
|
Security
0
| https://github.com/node-cache/node-cache/security |
|
Insights
| https://github.com/node-cache/node-cache/pulse |
|
Code
| https://github.com/node-cache/node-cache |
|
Issues
| https://github.com/node-cache/node-cache/issues |
|
Pull requests
| https://github.com/node-cache/node-cache/pulls |
|
Actions
| https://github.com/node-cache/node-cache/actions |
|
Projects
| https://github.com/node-cache/node-cache/projects |
|
Security
| https://github.com/node-cache/node-cache/security |
|
Insights
| https://github.com/node-cache/node-cache/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fnode-cache%2Fnode-cache%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fnode-cache%2Fnode-cache%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/node-cache/node-cache/pull/160#issue-comment-box |
| erdii | https://github.com/erdii |
| node-cache:master | https://github.com/node-cache/node-cache/tree/master |
| KrishnaPG:master | https://github.com/KrishnaPG/node-cache/tree/master |
|
take() method added for single-read values
| https://github.com/node-cache/node-cache/pull/160#top |
| erdii | https://github.com/erdii |
| node-cache:master | https://github.com/node-cache/node-cache/tree/master |
| KrishnaPG:master | https://github.com/KrishnaPG/node-cache/tree/master |
|
Conversation
5
| https://github.com/node-cache/node-cache/pull/160 |
|
Commits
3
| https://github.com/node-cache/node-cache/pull/160/commits |
|
Checks
0
| https://github.com/node-cache/node-cache/pull/160/checks |
|
Files changed
| https://github.com/node-cache/node-cache/pull/160/files |
| Please reload this page | https://github.com/node-cache/node-cache/pull/160 |
| https://github.co/hiddenchars |
| https://github.com/node-cache/node-cache/pull/{{ revealButtonHref }} |
|
| https://github.com/KrishnaPG |
| KrishnaPG | https://github.com/KrishnaPG |
| Nov 27, 2019 | https://github.com/node-cache/node-cache/pull/160#issue-529080654 |
| #159 | https://github.com/node-cache/node-cache/issues/159 |
| Please reload this page | https://github.com/node-cache/node-cache/pull/160 |
| KrishnaPG | https://github.com/KrishnaPG |
| November 27, 2019 08:05 | https://github.com/node-cache/node-cache/pull/160#commits-pushed-7c3be0d |
|
| https://github.com/KrishnaPG |
| feat(take): Added take() method for single-use values | https://github.com/node-cache/node-cache/pull/160/commits/7c3be0d8fd7d45870755676077b794e784fc9785 |
| 7c3be0d | https://github.com/node-cache/node-cache/pull/160/commits/7c3be0d8fd7d45870755676077b794e784fc9785 |
| node-cache#159 | https://github.com/node-cache/node-cache/issues/159 |
|
| https://github.com/KrishnaPG |
| chore: reverting to master version | https://github.com/node-cache/node-cache/pull/160/commits/5248736caad8788c4e5a41cdf12bba0752c16199 |
| 5248736 | https://github.com/node-cache/node-cache/pull/160/commits/5248736caad8788c4e5a41cdf12bba0752c16199 |
| https://github.com/KrishnaPG |
| KrishnaPG | https://github.com/KrishnaPG |
|
Nov 27, 2019
| https://github.com/node-cache/node-cache/pull/160#ref-issue-528578010 |
|
method for get + del
#159
| https://github.com/node-cache/node-cache/issues/159 |
| https://github.com/erdii |
| erdii | https://github.com/erdii |
|
Dec 3, 2019
| https://github.com/node-cache/node-cache/pull/160#pullrequestreview-326442022 |
|
View reviewed changes
| https://github.com/node-cache/node-cache/pull/160/files/5248736caad8788c4e5a41cdf12bba0752c16199 |
| erdii | https://github.com/erdii |
| Please reload this page | https://github.com/node-cache/node-cache/pull/160 |
| https://github.com/node-cache/node-cache/pull/160#pullrequestreview-326442022 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/node-cache/node-cache/pull/160 |
| _src/lib/node_cache.coffee | https://github.com/node-cache/node-cache/pull/160/files/5248736caad8788c4e5a41cdf12bba0752c16199#diff-1c772daa9c30d42371ff514570a3a6d8244386eb555f7da53579960b0c984d60 |
| Please reload this page | https://github.com/node-cache/node-cache/pull/160 |
|
| https://github.com/KrishnaPG |
| fix(take): fixes the falsy values bug | https://github.com/node-cache/node-cache/pull/160/commits/640fa54127da680054aaf9957537af87da1e7b96 |
| 640fa54 | https://github.com/node-cache/node-cache/pull/160/commits/640fa54127da680054aaf9957537af87da1e7b96 |
| https://github.com/KrishnaPG |
| KrishnaPG | https://github.com/KrishnaPG |
| erdii | https://github.com/erdii |
| December 4, 2019 01:31 | https://github.com/node-cache/node-cache/pull/160#event-2852287910 |
| https://github.com/erdii |
| erdii | https://github.com/erdii |
|
Dec 4, 2019
| https://github.com/node-cache/node-cache/pull/160#pullrequestreview-326676378 |
|
View reviewed changes
| https://github.com/node-cache/node-cache/pull/160/files/640fa54127da680054aaf9957537af87da1e7b96 |
| erdii | https://github.com/erdii |
| https://github.com/node-cache/node-cache/pull/160#pullrequestreview-326676378 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/node-cache/node-cache/pull/160 |
| https://github.com/erdii |
| erdii | https://github.com/erdii |
|
Dec 4, 2019
| https://github.com/node-cache/node-cache/pull/160#pullrequestreview-326676535 |
|
View reviewed changes
| https://github.com/node-cache/node-cache/pull/160/files/640fa54127da680054aaf9957537af87da1e7b96 |
| https://github.com/erdii |
| erdii | https://github.com/erdii |
| f0a8860 | https://github.com/node-cache/node-cache/commit/f0a8860a4c1b547b048ffe1ed6556f335fb5dd46 |
| Dec 4, 2019 | https://github.com/node-cache/node-cache/pull/160#event-2853734577 |
| https://github.com/erdii |
| erdii | https://github.com/erdii |
| Dec 4, 2019 | https://github.com/node-cache/node-cache/pull/160#issuecomment-561614720 |
| Please reload this page | https://github.com/node-cache/node-cache/pull/160 |
| Please reload this page | https://github.com/node-cache/node-cache/pull/160 |
| https://github.com/erdii |
| erdii | https://github.com/erdii |
|
Dec 8, 2019
| https://github.com/node-cache/node-cache/pull/160#ref-pullrequest-534504652 |
|
feat(flush stats): flush stats method
#161
| https://github.com/node-cache/node-cache/pull/161 |
| erdii | https://github.com/erdii |
|
Dec 8, 2019
| https://github.com/node-cache/node-cache/pull/160#ref-commit-ee87747 |
|
| https://github.com/erdii |
| add readme docs for .take() method from | https://github.com/node-cache/node-cache/commit/ee8774734e294db6790419a69ab104d924fe0a4c |
| #159 | https://github.com/node-cache/node-cache/issues/159 |
| #160 | https://github.com/node-cache/node-cache/pull/160 |
| ee87747 | https://github.com/node-cache/node-cache/commit/ee8774734e294db6790419a69ab104d924fe0a4c |
| 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%2Fnode-cache%2Fnode-cache%2Fpull%2F160 |
|
| https://github.com/erdii |
|
erdii
| https://github.com/erdii |
|
| https://github.com/node-cache/node-cache/pull/160/files/640fa54127da680054aaf9957537af87da1e7b96 |
| Please reload this page | https://github.com/node-cache/node-cache/pull/160 |
|
| https://github.com/KrishnaPG |
|
| https://github.com/erdii |
|
| 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 |