I've amended the exitcode, I'm not sure we can speed up the script much. The swift connection checks for duplicates anyway and doesn't copy if one exists I believe, so an external check I don't think would add much. But there could be a way to change the SQL query which I think is what you were suggesting, but I'm not well versed enough in SQL to say.
I've amended the exitcode, I'm not sure we can speed up the script much. The swift connection checks for duplicates anyway and doesn't copy if one exists I believe, so an external check I don't think would add much. But there could be a way to change the SQL query which I think is what you were suggesting, but I'm not well versed enough in SQL to say.