Revision 6176e07b src/acct/watch_helper.rb

View differences:

src/acct/watch_helper.rb
276 276
        def self.fix_size
277 277
            if self.count > @@window_size
278 278
                last_timestamp = self.all.first
279
                last_timestamp.remove_all_samples
279
                last_timestamp.samples_dataset.destroy
280 280
                last_timestamp.destroy
281 281
            end
282 282
        end

Also available in: Unified diff