File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -195,20 +195,7 @@ impl<'a> Worker<'a> {
195
195
match detect_broken ( rustwide_crate. fetch ( self . workspace ) ) {
196
196
Ok ( ( ) ) => break ,
197
197
Err ( e) => {
198
- if logs
199
- . to_string ( )
200
- . to_ascii_lowercase ( )
201
- . contains ( "no space left on device" )
202
- {
203
- if attempt == 3 {
204
- // FIXME: Doesn't this cause us to potentially delete caches
205
- // used by other workers? Maybe we can do something more
206
- // intelligent here?
207
- if let Err ( e) = self . workspace . purge_all_caches ( ) {
208
- log:: warn!( "purging caches failed: {:?}" , e) ;
209
- }
210
- }
211
-
198
+ if logs. to_string ( ) . contains ( "No space left on device" ) {
212
199
if attempt == 15 {
213
200
// If we've failed 15 times, then
214
201
// just give up. It's been at least
You can’t perform that action at this time.
0 commit comments