mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #642] Delete proxy on disconnect #501
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#501
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @travisghansen on GitHub (Feb 25, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/642
I'm looking to use this in a CI environment where tunnels are created and deleted at scale. In my initial tests I'm seeing that the 'proxy' definition on the server remains after the client is killed. Is there some way to make those disappear after a timeout or when the client disconnects?
@fatedier commented on GitHub (Feb 26, 2018):
All proxies of one client will be deleted when the client disconnect. However, the stats info of those proxies reserve for 7 days, so you can see it in frps dashboard.
@travisghansen commented on GitHub (Feb 27, 2018):
Ah, good to know. Any chance that time could be made configurable?
@fatedier commented on GitHub (Feb 28, 2018):
Sorry, no plan for that now. It's not a core feature.
@travisghansen commented on GitHub (Feb 28, 2018):
Any chance it would be accepted if I were to put something together? If so can you point me where that code is?
@fatedier commented on GitHub (Mar 14, 2018):
https://github.com/fatedier/frp/blob/master/server/metric.go#L27