Daniel Florian
committed
on 28 Jan 11
JBDS-1514 JBDS does not completely clean up Teiid PREVIEW VDBs and DataSources. Removed the timer that would stop the cleanup jobs when a ce… Show more
JBDS-1514 JBDS does not completely clean up Teiid PREVIEW VDBs and DataSources. Removed the timer that would stop the cleanup jobs when a certain amount of time had elapsed. Now the only way for the cleanup jobs not to finish is if the user cancels the dialog that is shown when the cleanup jobs are running. Each cleanup job is doing 2 things: deleting the preview VDB off the server, and (2) deleting the preview data source from the server. Since the cleanup jobs are run asynchronously chances are all cleanup jobs will already be deleting the VDB. So canceling will only stop the job from trying to delete the data source. Show less