Skip to content

Commit d362736

Browse files
removed deprecated spread() and expire() options
1 parent 410056f commit d362736

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

include/dnscpp/context.h

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -118,22 +118,6 @@ class Context : private Core
118118
_interval = std::max(interval, 0.1);
119119
}
120120

121-
/**
122-
* Set the spread (how long to wait until we context the next server)
123-
* This setting is deprecated and now unused
124-
* @param interval time in seconds
125-
* @deprecated
126-
*/
127-
void spread(double interval) {}
128-
129-
/**
130-
* Set the expire-time of the request
131-
* This setting is deprecated and now unused
132-
* @param timeout time in seconds
133-
* @deprecated
134-
*/
135-
void expire(double timeout) {}
136-
137121
/**
138122
* Set the max number of attempts
139123
* @param attempt max number of attemps

0 commit comments

Comments
 (0)